mirror of https://github.com/zulip/zulip.git
css: Extract variable for the right padding for table headers.
This commit extracts CSS value for right padding, used in headers of sortable columns of a table, in a variable.
This commit is contained in:
parent
461663c08a
commit
a888763141
|
@ -753,7 +753,7 @@ div.overlay {
|
|||
word-break: normal;
|
||||
|
||||
&[data-sort] {
|
||||
padding-right: 0.88em;
|
||||
padding-right: var(--table-header-sortable-column-padding-right);
|
||||
}
|
||||
|
||||
&.active::after,
|
||||
|
|
|
@ -493,6 +493,13 @@
|
|||
*/
|
||||
--popover-tippy-arrow-before-offset: -6.5px;
|
||||
|
||||
/*
|
||||
Padding used in headers for sortable columns in table to make sure
|
||||
that the arrow is visible completely for different screen widths,
|
||||
languages and font-size including when hovering over the header.
|
||||
*/
|
||||
--table-header-sortable-column-padding-right: 0.88em;
|
||||
|
||||
/* Colors used across the app */
|
||||
--color-date: hsl(0deg 0% 15% / 75%);
|
||||
--color-background-private-message-header: hsl(46deg 35% 93%);
|
||||
|
|
|
@ -123,7 +123,7 @@
|
|||
text-align: left;
|
||||
|
||||
&[data-sort] {
|
||||
padding-right: 0.88em;
|
||||
padding-right: var(--table-header-sortable-column-padding-right);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue