Fix jitter on icon change
This commit is contained in:
parent
ad77fd7ea0
commit
a5febca9ce
@ -380,10 +380,14 @@ html, body {
|
||||
margin-right: 4px;
|
||||
}
|
||||
|
||||
.headerIcon.nonClickable {
|
||||
margin-left: 4px;
|
||||
margin-right: 8px;
|
||||
}
|
||||
|
||||
.headerIcon.iconButton {
|
||||
padding: 0;
|
||||
width: 16px;
|
||||
height: 20px;
|
||||
width: 24px;
|
||||
height: 28px;
|
||||
}
|
||||
|
||||
.spinner {
|
||||
|
@ -81,7 +81,7 @@
|
||||
(cond
|
||||
(:loading state) (list (components/sidebar-header (components/with-classes
|
||||
(components/header-icon "icons/icon48.png")
|
||||
"headerIcon"))
|
||||
"headerIcon" "nonClickable"))
|
||||
(components/sidebar-content (components/loader)))
|
||||
(:item state) (list
|
||||
(components/sidebar-header (dom/createDom
|
||||
@ -148,7 +148,7 @@
|
||||
(:hits state) (list
|
||||
(components/sidebar-header (components/with-classes
|
||||
(components/header-icon "icons/icon48.png")
|
||||
"headerIcon"))
|
||||
"headerIcon" "nonClickable"))
|
||||
(apply
|
||||
components/sidebar-content
|
||||
(map (fn [hit]
|
||||
|
Loading…
Reference in New Issue
Block a user