automatic (some) columns expansion to avoid truncation

This commit is contained in:
pswid
2023-05-29 12:54:58 +02:00
parent b57fff13eb
commit 685f987a8e
4 changed files with 4 additions and 4 deletions

View File

@@ -148,7 +148,7 @@ const DashboardDevices: FC = () => {
common_theme, common_theme,
{ {
Table: ` Table: `
--data-table-library_grid-template-columns: minmax(0, 1fr) 150px 40px; --data-table-library_grid-template-columns: minmax(0, 1fr) minmax(150px, auto) 40px;
height: auto; height: auto;
max-height: 100%; max-height: 100%;
overflow-y: scroll; overflow-y: scroll;

View File

@@ -96,7 +96,7 @@ const DashboardSensors: FC = () => {
common_theme, common_theme,
{ {
Table: ` Table: `
--data-table-library_grid-template-columns: 80px repeat(1, minmax(0, 1fr)) 120px 100px; --data-table-library_grid-template-columns: 80px repeat(1, minmax(0, 1fr)) 120px 110px;
` `
} }
]); ]);

View File

@@ -60,7 +60,7 @@ const SettingsCustomization: FC = () => {
const entities_theme = useTheme({ const entities_theme = useTheme({
Table: ` Table: `
--data-table-library_grid-template-columns: 150px repeat(1, minmax(80px, 1fr)) 45px 45px 120px; --data-table-library_grid-template-columns: 150px repeat(1, minmax(80px, 1fr)) 45px minmax(45px, auto) minmax(120px, auto);
`, `,
BaseRow: ` BaseRow: `
font-size: 14px; font-size: 14px;

View File

@@ -53,7 +53,7 @@ const SettingsEntities: FC = () => {
const entity_theme = useTheme({ const entity_theme = useTheme({
Table: ` Table: `
--data-table-library_grid-template-columns: repeat(1, minmax(60px, 1fr)) 80px 80px 80px 80px; --data-table-library_grid-template-columns: repeat(1, minmax(60px, 1fr)) minmax(80px, auto) 80px 80px 80px;
`, `,
BaseRow: ` BaseRow: `
font-size: 14px; font-size: 14px;