mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
scrollbar: styles cleanup
This commit is contained in:
@@ -58,7 +58,7 @@
|
||||
position: relative;
|
||||
|
||||
// fix for Firefox (white stripe on the right of scrollbar)
|
||||
width: 99%;
|
||||
width: calc(100% - 1px);
|
||||
|
||||
.popover-content {
|
||||
padding: 0;
|
||||
@@ -67,6 +67,9 @@
|
||||
|
||||
.graph-legend-content {
|
||||
position: relative;
|
||||
|
||||
// fix for Firefox (white stripe on the right of scrollbar)
|
||||
width: calc(100% - 1px);
|
||||
}
|
||||
|
||||
.graph-legend-scroll {
|
||||
|
||||
@@ -189,10 +189,6 @@
|
||||
.baron {
|
||||
display: inline-block;
|
||||
overflow: hidden;
|
||||
|
||||
// Width needs to be set to prevent content width issues
|
||||
// Set to 99% instead of 100% for fixing Firefox issue (white stripe on the right of scrollbar)
|
||||
width: 99%;
|
||||
}
|
||||
|
||||
// Fix for side menu on mobile devices
|
||||
@@ -203,7 +199,6 @@
|
||||
.baron__clipper {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.baron__scroller {
|
||||
@@ -289,8 +284,8 @@
|
||||
|
||||
.baron.panel-content--scrollable {
|
||||
// Width needs to be set to prevent content width issues
|
||||
// Set to 99% instead of 100% for fixing Firefox issue (white stripe on the right of scrollbar)
|
||||
width: 99%;
|
||||
// Set to less than 100% for fixing Firefox issue (white stripe on the right of scrollbar)
|
||||
width: calc(100% - 2px);
|
||||
|
||||
.baron__scroller {
|
||||
padding-top: 1px;
|
||||
|
||||
Reference in New Issue
Block a user