Skip to content

Commit

Permalink
fix(style): marker should be inline
Browse files Browse the repository at this point in the history
  • Loading branch information
tiensonqin committed Oct 28, 2020
1 parent 4617e4d commit baf308f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 2 additions & 0 deletions resources/static/css/common.css
Expand Up @@ -51,6 +51,7 @@

--ls-primary-text-color: #24292e;
--ls-secondary-text-color: #161e2e;
--ls-title-text-color: #222;
--ls-link-text-color: #045591;
--ls-link-text-hover-color: #000;
--ls-link-ref-text-color: var(--ls-link-text-color);
Expand Down Expand Up @@ -1020,6 +1021,7 @@ a.login:hover {
}

.marker-switch {
display: inline;
font-size: 85%;
margin-right: 6px;
margin-left: 2px;
Expand Down
7 changes: 4 additions & 3 deletions src/main/frontend/components/hiccup.cljs
Expand Up @@ -767,8 +767,8 @@
[(str class " checked") true])]
(when class
(ui/checkbox {:class class
:style {:margin-top -1
:margin-right 6}
:style {:margin-top -2
:margin-right 5}
:checked checked?
:on-change (fn [_e]
;; FIXME: Log timestamp
Expand Down Expand Up @@ -881,7 +881,8 @@
(when (and marker
(not (string/blank? marker))
(not= "nil" marker))
{:class (string/lower-case marker)})
{:class (str (string/lower-case marker)
"flex flex-row items-center")})
(when bg-color
{:style {:background-color bg-color
:padding-left 6
Expand Down

0 comments on commit baf308f

Please sign in to comment.