-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use flexbox for table header #1776
Conversation
.column-header { | ||
display: flex; | ||
justify-content: space-between; | ||
|
||
&--clear, | ||
&--delete, | ||
&--edit, | ||
&--hide, | ||
&--sort { | ||
.not-selectable(); | ||
cursor: pointer; | ||
} | ||
|
||
> *:only-child { | ||
margin-left: auto; | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the only changes on this less file.. other changes are just prettier fix.
Another fix for plotly/dash-table#867 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Looks like one of the Percy tests is failing (https://app.circleci.com/pipelines/github/plotly/dash/2707/workflows/6936fe57-0c84-4d9f-b4b7-c47452fe9a6e/jobs/44310)
- If there are multiple buttons/icons in a column, they should be wrapped in a container so all of them would be aligned left OR, maybe it would work to always add
margin-left: auto
to the text, so it will put the spacing between the icons and the text (I like the second solution better). - Do we need to keep the
float: left
properties?
Looks like we had multiple parallel fixes for this... 🙈 |
No description provided.