Skip to content
This repository has been archived by the owner on Mar 31, 2024. It is now read-only.

Commit

Permalink
Always show the scrollbar, keep the color picker a fixed width
Browse files Browse the repository at this point in the history
  • Loading branch information
Rashid Khan committed Dec 9, 2015
1 parent b16d5a3 commit 45a315b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/ui/public/vislib/styles/_legend.less
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ visualize-legend {

.legend-ul {
border-left: 1px solid @sidebar-bg;
width: 135px;
width: 150px;
flex: 1 1 1px;
overflow-x: hidden;
overflow-y: auto;
overflow-y: scroll;
color: @legend-item-color;
list-style-type: none;
padding: 0;
Expand Down Expand Up @@ -97,6 +97,8 @@ visualize-legend {
}

&-color-picker {
width: 130px;

.dot {
line-height: 14px;
margin: 2px;
Expand Down

0 comments on commit 45a315b

Please sign in to comment.