Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
422a9470
Commit
422a9470
authored
Nov 11, 2019
by
Dominik Prokop
Committed by
Torkel Ödegaard
Nov 11, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ColorPicker: Fixes issue with ColorPicker disappearing too quickly (#20289)
parent
9fa18a2d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
22 deletions
+12
-22
packages/grafana-ui/src/components/ColorPicker/_ColorPicker.scss
+12
-22
No files found.
packages/grafana-ui/src/components/ColorPicker/_ColorPicker.scss
View file @
422a9470
...
...
@@ -2,6 +2,9 @@ $arrowSize: 15px;
.ColorPicker
{
@extend
.popper
;
font-size
:
12px
;
// !important because these styles are also provided to popper via .popper classes from Tooltip component
// hope to get rid of those soon
padding
:
$arrowSize
!
important
;
}
.ColorPicker__arrow
{
...
...
@@ -75,32 +78,19 @@ $arrowSize: 15px;
border-color
:
#1e2028
;
}
// Top
.ColorPicker
[
data-placement
^=
'top'
]
{
padding-bottom
:
$arrowSize
;
}
// Bottom
// !important because these styles are also provided to popper via .popper classes from Tooltip component
// hope to get rid of those soon
.ColorPicker
[
data-placement
^=
'top'
],
.ColorPicker
[
data-placement
^=
'bottom'
]
{
padding-top
:
$arrowSize
;
}
.ColorPicker
[
data-placement
^=
'bottom-start'
]
{
padding-top
:
$arrowSize
;
}
.ColorPicker
[
data-placement
^=
'bottom-end'
]
{
padding-top
:
$arrowSize
;
padding-left
:
0
!
important
;
padding-right
:
0
!
important
;
}
// Right
// !important because these styles are also provided to popper via .popper classes from Tooltip component
// hope to get rid of those soon
.ColorPicker
[
data-placement
^=
'left'
],
.ColorPicker
[
data-placement
^=
'right'
]
{
padding-left
:
$arrowSize
;
}
// Left
.ColorPicker
[
data-placement
^=
'left'
]
{
padding-right
:
$arrowSize
;
padding-top
:
0
!
important
;
}
.ColorPickerPopover
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment