chore: pr #766 ux polish

This commit is contained in:
Anoop M D
2023-10-25 23:29:59 +05:30
parent 36f19ec7bc
commit 32b696da57
4 changed files with 7 additions and 5 deletions

View File

@@ -6,7 +6,7 @@ import StyledWrapper from './StyledWrapper';
// Todo: text-error class is not getting pulled in for 500 errors
const StatusCode = ({ status }) => {
const getTabClassname = (status) => {
return classnames('', {
return classnames('ml-2', {
'text-ok': status >= 100 && status < 200,
'text-ok': status >= 200 && status < 300,
'text-error': status >= 300 && status < 400,