Skip to content

Commit 0881e44

Browse files
committed
revert styling changes in defaults.clj macros
They slightly change styling under Chrome. I put the under vendor prefixes. Not sure if Firefox console allow this.
1 parent 54b3b68 commit 0881e44

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/lib/devtools/defaults.clj

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,9 @@
117117

118118
(defmacro get-body-line-common-style []
119119
`(css "min-height: 14px;"
120-
"display: flex;"
121-
"align-items: start;"))
120+
; apply following only as part of Firefox-specific styling
121+
"-moz-display: flex;"
122+
"-moz-align-items: start;"))
122123

123124
(defmacro get-common-type-header-style []
124125
`(css (str "color: " (named-color :type-text) ";")
@@ -172,7 +173,7 @@
172173
"vertical-align: top;"
173174
"position: relative;"
174175
"margin-right: 3px;"
175-
"margin-top: 2px;"
176+
"-moz-margin-top: 2px;" ; apply just under Firefox
176177
"border-radius: 2px;"
177178
"user-select: none;"
178179
(if (= ~kind :slim)

0 commit comments

Comments
 (0)