From 600f10c9b9f292685bdf3e35bf4ab202c7e440b6 Mon Sep 17 00:00:00 2001 From: Koustav Date: Fri, 20 Dec 2024 15:43:26 +0530 Subject: [PATCH] WIP: Dynamic Font Size --- .../Header/styles/LogQuery.module.css | 54 ++- src/components/Misc/CreatableSelect.tsx | 1 + src/components/Misc/DeleteOrResetModal.tsx | 5 +- .../Misc/styles/DeleteOrResetModal.module.css | 75 +++- src/components/Navbar/UserModal.tsx | 19 +- .../Navbar/styles/InfoModal.module.css | 123 +++++- .../Navbar/styles/Navbar.module.css | 179 +++++---- src/pages/AccessManagement/RoleTR.tsx | 2 +- src/pages/AccessManagement/Roles.tsx | 17 +- src/pages/AccessManagement/Users.tsx | 16 +- .../styles/AccessManagement.module.css | 377 ++++++++++++++---- src/pages/Home/CreateStreamModal.tsx | 22 +- src/pages/Home/index.tsx | 12 +- src/pages/Home/styles/Card.module.css | 55 ++- .../Home/styles/CreateStreamModal.module.css | 101 ++++- src/pages/Home/styles/Home.module.css | 157 ++++++-- .../Stream/Views/Explore/StaticLogTable.tsx | 2 +- src/pages/Stream/Views/Manage/Settings.tsx | 21 +- .../Stream/components/PrimaryToolbar.tsx | 1 + .../styles/SavedFiltersModalStyles.module.css | 12 +- .../styles/PrimaryToolbar.module.css | 38 +- src/pages/Stream/styles/Logs.module.css | 25 ++ src/pages/Stream/styles/Management.module.css | 131 +++++- src/pages/Systems/MachineInfo.tsx | 14 +- src/pages/Systems/ServerList.tsx | 7 +- src/pages/Systems/styles/Systems.module.css | 207 +++++++++- 26 files changed, 1393 insertions(+), 280 deletions(-) diff --git a/src/components/Header/styles/LogQuery.module.css b/src/components/Header/styles/LogQuery.module.css index 8daf263d..8f7ee7b2 100644 --- a/src/components/Header/styles/LogQuery.module.css +++ b/src/components/Header/styles/LogQuery.module.css @@ -16,7 +16,7 @@ background: #fff; padding: 0; width: 36px; - color: #211F1F; + color: #211f1f; border: 1px #e9ecef solid; border-radius: rem(8px); @@ -26,12 +26,12 @@ } .refreshNowBtn:hover { - background-color: #E0E0E0; + background-color: #e0e0e0; } .streamButton { background: #fff; - color: #211F1F; + color: #211f1f; border: 1px #e9ecef solid; border-radius: rem(8px); } @@ -49,7 +49,34 @@ } .intervalbtn:hover { - background-color: #E0E0E0; + background-color: #e0e0e0; +} + +.streamSelect { + @media (min-width: 1024px) { + /* sm: Styles for HD devices */ + font-size: 10px; + } + + @media (min-width: 1980px) { + /* md: Styles for FULL HD devices */ + font-size: 12px; + } + + @media (min-width: 1600px) { + /* lg: Styles for 2K devices */ + font-size: 14px; + } + + @media (min-width: 2160px) { + /* xl: Styles for 4K devices */ + font-size: 18px; + } + + @media (min-width: 3200px) { + /* 2xl: Styles for 8K devices */ + font-size: 24px; + } } .homeIcon { @@ -97,7 +124,6 @@ background: #424242; font-weight: 600; color: #fff; - } .customRangeContainer { @@ -158,7 +184,7 @@ background-color: white; padding: 6px 12px; margin-right: 0.625rem; - color: #211F1F; + color: #211f1f; border: 1px #e9ecef solid; } @@ -177,7 +203,7 @@ } .timeRangeBTn:hover { - background-color: #E0E0E0; + background-color: #e0e0e0; color: black; } @@ -187,7 +213,7 @@ } .dropdownOption { - color: #211F1F; + color: #211f1f; font-size: var(--mantine-font-size-md); } @@ -210,11 +236,11 @@ } .customTimeRangeApplyBtn { - background: #545BEB; + background: #545beb; color: white; &:hover { - background: #FC466B; + background: #fc466b; } } @@ -263,8 +289,6 @@ white-space: nowrap; } - - .modeContainer { width: 5rem; height: 100%; @@ -301,7 +325,7 @@ overflow: hidden; border-radius: rem(8px); align-items: center; - height: 1.6rem + height: 1.6rem; } .timeRangeCtrlIcon { @@ -310,7 +334,7 @@ justify-content: center; &:hover { - background-color: #E0E0E0; + background-color: #e0e0e0; color: black; } @@ -350,4 +374,4 @@ background-color: var(--mantine-color-gray-5); color: white; border-radius: 0.15rem; -} \ No newline at end of file +} diff --git a/src/components/Misc/CreatableSelect.tsx b/src/components/Misc/CreatableSelect.tsx index f2994314..e93cc580 100644 --- a/src/components/Misc/CreatableSelect.tsx +++ b/src/components/Misc/CreatableSelect.tsx @@ -75,6 +75,7 @@ export function CreatableSelect(props: Props) { }}> } value={search} onChange={(event) => { diff --git a/src/components/Misc/DeleteOrResetModal.tsx b/src/components/Misc/DeleteOrResetModal.tsx index 686f0def..981873aa 100644 --- a/src/components/Misc/DeleteOrResetModal.tsx +++ b/src/components/Misc/DeleteOrResetModal.tsx @@ -98,7 +98,7 @@ const DeleteOrResetModal = ({ Please type {`"${confirmationText}"`} to confirm {type === 'delete' ? 'deletion' : 'reset'}. - + )} @@ -109,13 +109,14 @@ const DeleteOrResetModal = ({ {/* Action buttons */} - {/* Disable the button if the confirmation text is not correct or the action is processing. */} - diff --git a/src/pages/AccessManagement/styles/AccessManagement.module.css b/src/pages/AccessManagement/styles/AccessManagement.module.css index 8dab7a43..01762073 100644 --- a/src/pages/AccessManagement/styles/AccessManagement.module.css +++ b/src/pages/AccessManagement/styles/AccessManagement.module.css @@ -6,129 +6,308 @@ margin: 1rem; border-radius: 0.5rem; border: 1px solid var(--mantine-color-gray-2); - } - - .container:first-of-type { +} + +.container:first-of-type { margin-right: 0; - } - - .header { +} + +.header { justify-content: space-between; align-items: center; border-bottom: 1px solid var(--mantine-color-gray-1); flex-direction: row; padding: 1rem; - } - - .createBtn { + + @media (min-width: 1024px) { + /* sm: Styles for HD devices */ + font-size: 10px; + } + + @media (min-width: 1980px) { + /* md: Styles for FULL HD devices */ + font-size: 12px; + } + + @media (min-width: 1600px) { + /* lg: Styles for 2K devices */ + font-size: 14px; + } + + @media (min-width: 2160px) { + /* xl: Styles for 4K devices */ + font-size: 18px; + } + + @media (min-width: 3200px) { + /* 2xl: Styles for 8K devices */ + font-size: 24px; + } +} + +.createBtn { height: 34px; padding: 0 15px; margin-inline-end: 0.625rem; color: #777777; border-color: #828282; - } - - .createBtn:disabled, - .createBtn:disabled:hover { +} + +.createBtn:disabled, +.createBtn:disabled:hover { background-color: var(--mantine-color-gray-4); color: white; - } - +} - .tableContainer { +.tableContainer { /* height: calc(100% - 70px); */ - } - - .tableStyle { +} + +.tableStyle { overflow: scroll; width: 100%; height: 100%; padding: 0; - } - - .theadStyle { +} + +.theadStyle { position: sticky; z-index: 1; top: 0; height: 50px; background-color: white; text-align: left; - } - - .theadStyle tr th { + @media (min-width: 1024px) { + /* sm: Styles for HD devices */ + font-size: 10px; + } + + @media (min-width: 1980px) { + /* md: Styles for FULL HD devices */ + font-size: 12px; + } + + @media (min-width: 1600px) { + /* lg: Styles for 2K devices */ + font-size: 14px; + } + + @media (min-width: 2160px) { + /* xl: Styles for 4K devices */ + font-size: 18px; + } + + @media (min-width: 3200px) { + /* 2xl: Styles for 8K devices */ + font-size: 24px; + } +} + +.theadStyle tr th { padding: 0.625rem; - } - - .trStyle:nth-child(odd) { +} + +.trStyle:nth-child(odd) { background-color: #ececec80; - } - - .trStyle td { +} + +.trStyle td { height: 100%; vertical-align: middle; padding: 0.625rem; - } - - .passwordPrims .mantine-Tooltip-tooltip { + + @media (min-width: 1024px) { + /* sm: Styles for HD devices */ + font-size: 10px; + } + + @media (min-width: 1980px) { + /* md: Styles for FULL HD devices */ + font-size: 12px; + } + + @media (min-width: 1600px) { + /* lg: Styles for 2K devices */ + font-size: 14px; + } + + @media (min-width: 2160px) { + /* xl: Styles for 4K devices */ + font-size: 18px; + } + + @media (min-width: 3200px) { + /* 2xl: Styles for 8K devices */ + font-size: 24px; + } +} + +.passwordPrims .mantine-Tooltip-tooltip { background-color: #757575; color: #ffffff; - } - - .passwordPrims .mantine-Prism-code { +} + +.passwordPrims .mantine-Prism-code { background-color: white !important; border: 1px solid #e0e0e0 !important; - } - - .modalStyle .mantine-Paper-root { +} + +.modalStyle .mantine-Paper-root { overflow-y: inherit; - } - - .modalStyle .mantine-Modal-header { +} + +.modalStyle .mantine-Modal-header { border-radius: 8px 8px 0px 0px; background-color: #f5f5f5; - } - - .modalStyle .mantine-Modal-title { +} + +.modalStyle .mantine-Modal-title { font-weight: bold; - } - - .modalStyle .mantine-Modal-body { +} + +.modalStyle .mantine-Modal-body { padding-top: 1rem !important; - } - - .passwordText { +} + +.passwordText { font-weight: 500; - font-size: 0.875rem; - } - - .modalCancelBtn { + /* font-size: 0.875rem; */ + + @media (min-width: 1024px) { + /* sm: Styles for HD devices */ + font-size: 10px; + } + + @media (min-width: 1980px) { + /* md: Styles for FULL HD devices */ + font-size: 12px; + } + + @media (min-width: 1600px) { + /* lg: Styles for 2K devices */ + font-size: 14px; + } + + @media (min-width: 2160px) { + /* xl: Styles for 4K devices */ + font-size: 18px; + } + + @media (min-width: 3200px) { + /* 2xl: Styles for 8K devices */ + font-size: 24px; + } +} + +.rolesPill { + @media (min-width: 1024px) { + /* sm: Styles for HD devices */ + font-size: 10px; + } + + @media (min-width: 1980px) { + /* md: Styles for FULL HD devices */ + font-size: 12px; + } + + @media (min-width: 1600px) { + /* lg: Styles for 2K devices */ + font-size: 14px; + } + + @media (min-width: 2160px) { + /* xl: Styles for 4K devices */ + font-size: 18px; + } + + @media (min-width: 3200px) { + /* 2xl: Styles for 8K devices */ + font-size: 24px; + } +} + +.modalCancelBtn { border-color: #ced4da; color: #000000; - } - - .modalActionBtn { - background-color: #545BEB; +} + +.modalActionBtn { + background-color: #545beb; color: white; - } - - .modalActionBtn:disabled, - .modalActionBtn:disabled:hover { +} + +.modalActionBtn:disabled, +.modalActionBtn:disabled:hover { background-color: var(--mantine-color-gray-4); color: white; - } +} - .actionBtn { +.actionBtn { height: 24px; width: 24px; padding: 0; margin-inline-end: 0.625rem; color: #777777; border-color: #828282; - } - - .actionBtn:hover { - color: #545BEB; - } +} + +.actionBtn:hover { + color: #545beb; +} + +.docsIcon { + @media (min-width: 1024px) { + /* sm: Styles for HD devices */ + font-size: 10px; + } + + @media (min-width: 1980px) { + /* md: Styles for FULL HD devices */ + font-size: 12px; + } + + @media (min-width: 1600px) { + /* lg: Styles for 2K devices */ + font-size: 14px; + } + + @media (min-width: 2160px) { + /* xl: Styles for 4K devices */ + font-size: 18px; + } + + @media (min-width: 3200px) { + /* 2xl: Styles for 8K devices */ + font-size: 24px; + } +} + +.sectionHeaderText { + @media (min-width: 1024px) { + /* sm: Styles for HD devices */ + font-size: 10px; + } + + @media (min-width: 1980px) { + /* md: Styles for FULL HD devices */ + font-size: 12px; + } + + @media (min-width: 1600px) { + /* lg: Styles for 2K devices */ + font-size: 14px; + } + + @media (min-width: 2160px) { + /* xl: Styles for 4K devices */ + font-size: 18px; + } + + @media (min-width: 3200px) { + /* 2xl: Styles for 8K devices */ + font-size: 24px; + } +} .createUserBtn { display: flex; @@ -136,16 +315,66 @@ align-items: center; height: auto; background-color: white; - color: #211F1F; + color: #211f1f; border: 1px #e9ecef solid; margin-right: 0.625rem; border-radius: rem(8px); + + @media (min-width: 1024px) { + /* sm: Styles for HD devices */ + font-size: 10px; + } + + @media (min-width: 1980px) { + /* md: Styles for FULL HD devices */ + font-size: 12px; + } + + @media (min-width: 1600px) { + /* lg: Styles for 2K devices */ + font-size: 14px; + } + + @media (min-width: 2160px) { + /* xl: Styles for 4K devices */ + font-size: 18px; + } + + @media (min-width: 3200px) { + /* 2xl: Styles for 8K devices */ + font-size: 24px; + } &:hover { background-color: var(--mantine-color-gray-0); - color: #211F1F;; + color: #211f1f; } } .tableHeader { font-weight: 600; -} \ No newline at end of file + + @media (min-width: 1024px) { + /* sm: Styles for HD devices */ + font-size: 10px; + } + + @media (min-width: 1980px) { + /* md: Styles for FULL HD devices */ + font-size: 12px; + } + + @media (min-width: 1600px) { + /* lg: Styles for 2K devices */ + font-size: 14px; + } + + @media (min-width: 2160px) { + /* xl: Styles for 4K devices */ + font-size: 18px; + } + + @media (min-width: 3200px) { + /* 2xl: Styles for 8K devices */ + font-size: 24px; + } +} diff --git a/src/pages/Home/CreateStreamModal.tsx b/src/pages/Home/CreateStreamModal.tsx index 1c1539c7..0629c34b 100644 --- a/src/pages/Home/CreateStreamModal.tsx +++ b/src/pages/Home/CreateStreamModal.tsx @@ -129,11 +129,11 @@ const FieldRow = (props: { const rmvBtnProps = _.isFunction(props.onRemove) ? { onClick: props.onRemove } : { color: 'gray' }; return ( - - - + @@ -146,9 +146,10 @@ const AddFieldButton = ({ onClick }: { onClick: () => void }) => { return ( ) : ( @@ -633,7 +639,7 @@ const CreateStreamModal: FC = () => { opened={createStreamModalOpen} onClose={closeModal} withinPortal - size="xl" + size="60rem" centered padding={20} title="Create Stream" diff --git a/src/pages/Home/index.tsx b/src/pages/Home/index.tsx index 21cd2fb1..d28b0d2c 100644 --- a/src/pages/Home/index.tsx +++ b/src/pages/Home/index.tsx @@ -136,10 +136,14 @@ const Home: FC = () => { flexDirection: 'row', borderBottom: '1px solid var(--mantine-color-gray-3)', }}> - + All Streams ({filteredMetaData && Object.keys(filteredMetaData).length}) { shouldHideFooter={Array.isArray(userSpecificStreams) && userSpecificStreams.length > 0} /> ) : ( - + {Object.entries(filteredMetaData || {}).map(([stream, data]) => ( { return ( - {props.label} + {props.label} {props.value} @@ -269,7 +273,7 @@ const StreamInfo: FC = (props) => { - + {stream} diff --git a/src/pages/Home/styles/Card.module.css b/src/pages/Home/styles/Card.module.css index a2ffb434..cc9d09b0 100644 --- a/src/pages/Home/styles/Card.module.css +++ b/src/pages/Home/styles/Card.module.css @@ -12,7 +12,7 @@ flex-direction: row; align-items: center; width: 100%; - border: 1px solid var(--mantine-color-gray-1) + border: 1px solid var(--mantine-color-gray-1); } .streamBoxCol { @@ -25,5 +25,56 @@ .bigNo { color: var(--mantine-color-brandPrimary-4); - font-size: 0.75rem; + /* font-size: 0.75rem; */ + @media (min-width: 1024px) { + /* sm: Styles for HD devices */ + font-size: 10px; + } + + @media (min-width: 1980px) { + /* md: Styles for FULL HD devices */ + font-size: 12px; + } + + @media (min-width: 1600px) { + /* lg: Styles for 2K devices */ + font-size: 14px; + } + + @media (min-width: 2160px) { + /* xl: Styles for 4K devices */ + font-size: 18px; + } + + @media (min-width: 3200px) { + /* 2xl: Styles for 8K devices */ + font-size: 24px; + } +} + +.streamBoxText { + @media (min-width: 1024px) { + /* sm: Styles for HD devices */ + font-size: 10px; + } + + @media (min-width: 1980px) { + /* md: Styles for FULL HD devices */ + font-size: 12px; + } + + @media (min-width: 1600px) { + /* lg: Styles for 2K devices */ + font-size: 14px; + } + + @media (min-width: 2160px) { + /* xl: Styles for 4K devices */ + font-size: 18px; + } + + @media (min-width: 3200px) { + /* 2xl: Styles for 8K devices */ + font-size: 24px; + } } diff --git a/src/pages/Home/styles/CreateStreamModal.module.css b/src/pages/Home/styles/CreateStreamModal.module.css index b5e10db7..5bbae04f 100644 --- a/src/pages/Home/styles/CreateStreamModal.module.css +++ b/src/pages/Home/styles/CreateStreamModal.module.css @@ -1,32 +1,101 @@ .aboutTitle { - font-size: 0.8rem; - font-weight: 500; + font-weight: 500; + @media (min-width: 1024px) { + /* sm: Styles for HD devices */ + font-size: 10px; + } + + @media (min-width: 1980px) { + /* md: Styles for FULL HD devices */ + font-size: 12px; + } + + @media (min-width: 1600px) { + /* lg: Styles for 2K devices */ + font-size: 14px; + } + + @media (min-width: 2160px) { + /* xl: Styles for 4K devices */ + font-size: 18px; + } + + @media (min-width: 3200px) { + /* 2xl: Styles for 8K devices */ + font-size: 24px; + } } .fieldTitle { - font-size: var(--mantine-font-size-md); - font-weight: 500; + font-weight: 500; + @media (min-width: 1024px) { + /* sm: Styles for HD devices */ + font-size: 10px; + } + + @media (min-width: 1980px) { + /* md: Styles for FULL HD devices */ + font-size: 12px; + } + + @media (min-width: 1600px) { + /* lg: Styles for 2K devices */ + font-size: 14px; + } + + @media (min-width: 2160px) { + /* xl: Styles for 4K devices */ + font-size: 18px; + } + + @media (min-width: 3200px) { + /* 2xl: Styles for 8K devices */ + font-size: 24px; + } } .fieldDescription { - font-size: var(--mantine-font-size-sm); - color: var(--mantine-color-gray-6); + color: var(--mantine-color-gray-6); + @media (min-width: 1024px) { + /* sm: Styles for HD devices */ + font-size: 10px; + } + + @media (min-width: 1980px) { + /* md: Styles for FULL HD devices */ + font-size: 12px; + } + + @media (min-width: 1600px) { + /* lg: Styles for 2K devices */ + font-size: 14px; + } + + @media (min-width: 2160px) { + /* xl: Styles for 4K devices */ + font-size: 18px; + } + + @media (min-width: 3200px) { + /* 2xl: Styles for 8K devices */ + font-size: 24px; + } } .fieldsSectionContainer { - border: 1px solid var(--mantine-color-gray-4); - padding: var(--mantine-spacing-md); - padding-bottom: 0; - border-radius: 0.2rem; + border: 1px solid var(--mantine-color-gray-4); + padding: var(--mantine-spacing-md); + padding-bottom: 0; + border-radius: 0.2rem; } .fieldsContainer { - max-height: 10rem; - overflow: scroll; - padding-bottom: var(--mantine-spacing-md); + max-height: 10rem; + overflow: scroll; + padding-bottom: var(--mantine-spacing-md); } .infoTooltipIcon { - color: var(--mantine-color-gray-5); - cursor: pointer; -} \ No newline at end of file + color: var(--mantine-color-gray-5); + cursor: pointer; +} diff --git a/src/pages/Home/styles/Home.module.css b/src/pages/Home/styles/Home.module.css index 049580bf..ba49c2f8 100644 --- a/src/pages/Home/styles/Home.module.css +++ b/src/pages/Home/styles/Home.module.css @@ -1,39 +1,144 @@ .container { - flex: 1; - display: flex; - position: relative; - flex-direction: column; + flex: 1; + display: flex; + position: relative; + flex-direction: column; } .noDataViewContainer { - height: 100%; - flex-direction: column; - justify-content: center; - align-items: center; - display: flex; + height: 100%; + flex-direction: column; + justify-content: center; + align-items: center; + display: flex; } .messageStyle { - margin-top: 1rem; - color: #D4D4D4; + margin-top: 1rem; + color: #d4d4d4; } .btnStyle { - margin-top: 1rem; - color: #FFFFFF; - background: #545BEB; + margin-top: 1rem; + color: #ffffff; + background: #545beb; } .createStreamButton { - background-color: white; - color: #211F1F; - border: 1px #e9ecef solid; - margin-right: 0.625rem; - border-radius: rem(8px); - text-transform: capitalize; - height: 1.65rem; - &:hover { - background-color: #E0E0E0; - color: black; - } -} \ No newline at end of file + background-color: white; + color: #211f1f; + border: 1px #e9ecef solid; + margin-right: 0.625rem; + border-radius: rem(8px); + text-transform: capitalize; + height: 1.65rem; + @media (min-width: 1024px) { + /* sm: Styles for HD devices */ + font-size: 10px; + } + + @media (min-width: 1980px) { + /* md: Styles for FULL HD devices */ + font-size: 12px; + } + + @media (min-width: 1600px) { + /* lg: Styles for 2K devices */ + font-size: 14px; + } + + @media (min-width: 2160px) { + /* xl: Styles for 4K devices */ + font-size: 18px; + } + + @media (min-width: 3200px) { + /* 2xl: Styles for 8K devices */ + font-size: 24px; + } + &:hover { + background-color: #e0e0e0; + color: black; + } +} + +.title { + @media (min-width: 1024px) { + /* sm: Styles for HD devices */ + font-size: 10px; + } + + @media (min-width: 1980px) { + /* md: Styles for FULL HD devices */ + font-size: 12px; + } + + @media (min-width: 1600px) { + /* lg: Styles for 2K devices */ + font-size: 14px; + } + + @media (min-width: 2160px) { + /* xl: Styles for 4K devices */ + font-size: 18px; + } + + @media (min-width: 3200px) { + /* 2xl: Styles for 8K devices */ + font-size: 24px; + } +} + +.streamList { + @media (min-width: 1024px) { + /* sm: Styles for HD devices */ + font-size: 10px; + } + + @media (min-width: 1980px) { + /* md: Styles for FULL HD devices */ + font-size: 12px; + } + + @media (min-width: 1600px) { + /* lg: Styles for 2K devices */ + font-size: 14px; + } + + @media (min-width: 2160px) { + /* xl: Styles for 4K devices */ + font-size: 18px; + } + + @media (min-width: 3200px) { + /* 2xl: Styles for 8K devices */ + font-size: 24px; + } +} + +.searchBox { + @media (min-width: 1024px) { + /* sm: Styles for HD devices */ + font-size: 10px; + } + + @media (min-width: 1980px) { + /* md: Styles for FULL HD devices */ + font-size: 12px; + } + + @media (min-width: 1600px) { + /* lg: Styles for 2K devices */ + font-size: 14px; + } + + @media (min-width: 2160px) { + /* xl: Styles for 4K devices */ + font-size: 18px; + } + + @media (min-width: 3200px) { + /* 2xl: Styles for 8K devices */ + font-size: 24px; + } +} diff --git a/src/pages/Stream/Views/Explore/StaticLogTable.tsx b/src/pages/Stream/Views/Explore/StaticLogTable.tsx index 6ffec611..be5f51f9 100644 --- a/src/pages/Stream/Views/Explore/StaticLogTable.tsx +++ b/src/pages/Stream/Views/Explore/StaticLogTable.tsx @@ -174,7 +174,7 @@ const Table = (props: { primaryHeaderHeight: number }) => { className: tableStyles.customCell, style: { padding: '0.5rem 1rem', - fontSize: '0.6rem', + // fontSize: '0.6rem', overflow: 'hidden', textOverflow: 'ellipsis', display: 'table-cell', diff --git a/src/pages/Stream/Views/Manage/Settings.tsx b/src/pages/Stream/Views/Manage/Settings.tsx index b7096348..373ed2ec 100644 --- a/src/pages/Stream/Views/Manage/Settings.tsx +++ b/src/pages/Stream/Views/Manage/Settings.tsx @@ -67,6 +67,7 @@ const RetentionForm = (props: { updateRetentionConfig: ({ config }: { config: an - @@ -136,7 +144,7 @@ const DeleteHotTierModal = (props: { - - @@ -244,6 +252,7 @@ const HotTierConfig = (props: { {streamType === 'UserDefined' ? ( - @@ -319,7 +328,7 @@ const Settings = (props: { return (
- + {props.isLoading ? ( diff --git a/src/pages/Stream/components/PrimaryToolbar.tsx b/src/pages/Stream/components/PrimaryToolbar.tsx index 23a51364..88775956 100644 --- a/src/pages/Stream/components/PrimaryToolbar.tsx +++ b/src/pages/Stream/components/PrimaryToolbar.tsx @@ -34,6 +34,7 @@ const SavedFiltersButton = () => { const onClick = useCallback(() => setLogsStore((store) => toggleSavedFiltersModal(store, true)), []); return (