fixed getCorrectFontSize is not a function

This commit is contained in:
Elyor Djalilov 2024-05-02 21:40:12 +05:00
parent 74ccd82afb
commit ed94f04d59
4 changed files with 8 additions and 8 deletions

View File

@ -7,13 +7,13 @@ const StyledRowContent = styled(RowContent)`
font-weight: 600;
color: ${(props) => props.theme.activeSessions.textOnlineColor};
margin-left: 4px;
font-size: ${(props) => props.theme.getCorrectFontSize("14px")};
font-size: 14px;
}
.offline {
font-weight: 600;
color: ${(props) => props.theme.activeSessions.tableCellColor};
font-size: ${(props) => props.theme.getCorrectFontSize("14px")};
font-size: 14px;
margin-left: 4px;
}
`;

View File

@ -72,7 +72,7 @@ const StyledRowContainer = styled(RowContainer)`
}
.header-container-text {
font-size: ${(props) => props.theme.getCorrectFontSize("12px")};
font-size: 12px;
color: #a3a9ae;
}

View File

@ -59,7 +59,7 @@ const StyledTableContainer = styled(TableContainer)`
.header-container-text {
color: ${(props) => props.theme.tableContainer.header.textColor};
font-size: ${(props) => props.theme.getCorrectFontSize("12px")};
font-size: 12px;
}
:has(

View File

@ -38,13 +38,13 @@ const DownLoadWrapper = styled.div`
.download-report_button {
width: auto;
height: auto;
font-size: ${(props) => props.theme.getCorrectFontSize("13px")};
line-height: ${(props) => props.theme.getCorrectFontSize("20px")};
font-size: 13px;
line-height: 20px;
padding-top: 5px;
padding-bottom: 5px;
@media ${tablet} {
font-size: ${(props) => props.theme.getCorrectFontSize("14px")};
font-size: 14px;
line-height: 16px;
padding-top: 11px;
padding-bottom: 11px;
@ -58,7 +58,7 @@ const DownLoadWrapper = styled.div`
.download-report_description {
font-style: normal;
font-weight: 400;
font-size: ${(props) => props.theme.getCorrectFontSize("12px")};
font-size: 12px;
line-height: 16px;
height: 16px;