Skip to content

Commit

Permalink
max width fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
ackava committed Feb 1, 2024
1 parent b7a65e0 commit ee051f0
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions src/styles/layouts/data-grid/data-grid.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ styled.add({
padding: ${vars.spacing};
& > *, & > button, & > button {
& > *, & > button, & > button[data-layout] {
padding: ${vars.spacing};
display: table-cell;
vertical-align: top;
Expand All @@ -27,16 +27,15 @@ styled.add({
margin: ${vars.spacing};
}
&:not(header,footer) {
&:hover {
background-color: ${vars.hoverColor};
color: ${vars.hoverTextColor};
}
& > * {
max-width: 200px;
overflow: hidden;
text-overflow: ellipsis;
}
&:not(header,footer):hover {
background-color: ${vars.hoverColor};
color: ${vars.hoverTextColor};
}
&:not(header,footer) > * {
max-width: 200px;
overflow: hidden;
text-overflow: ellipsis;
}
& > input:first-child:checked ~ * {
Expand Down

0 comments on commit ee051f0

Please sign in to comment.