wix-style-react
Version:
wix-style-react
43 lines (34 loc) • 687 B
CSS
@st-import [alignCenter, stickyActionCell, thContainer] from '../DataTable.st.css';
.root {
-st-states: horizontalScroll;
display: flex;
min-width: 100%;
width: auto;
}
.thead {
display: inline-flex;
min-width: 100%;
}
.root td,
.root th {
align-items: center;
display: flex;
}
.root:horizontalScroll td,
.root:horizontalScroll th {
flex-shrink: 0;
}
.root th {
justify-content: flex-start;
}
.root th .thContainer {
flex: 1;
}
.root td.stickyActionCell {
justify-content: flex-end;
z-index: 2;
}
.root td.alignCenter {
justify-content: center;
}
/* st-namespace-reference="../../../../../src/Table/DataTable/components/DataTableRowVirtual.st.css" */