Skip to content

Commit

Permalink
Fixed layout bug in sort order indicator
Browse files Browse the repository at this point in the history
  • Loading branch information
texodus committed Feb 25, 2019
1 parent a4a1e8a commit 3c51d74
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/perspective-viewer/src/less/row.less
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@
:host #sort_order {
display: none;
font-family: var(--button--font-family, inherit);
margin-right: 4px;
&:before {
content: var(--row-sort-order--before, "-");
}
Expand Down
2 changes: 1 addition & 1 deletion packages/perspective-viewer/src/less/viewer.less
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@
white-space: nowrap;
}
#sort perspective-row {
--sort_order-display: inline-block;
--sort_order-display: inline;
--sort_order-padding: 0 0 0 10px;
&[sort-order="asc"] {
--row-sort-order--before: var(--sort-order-asc--before, "\2191");
Expand Down

0 comments on commit 3c51d74

Please sign in to comment.