Skip to content

Commit 58efbf4

Browse files
committed
remove unnecessary !important
1 parent a9664a4 commit 58efbf4

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

frame.lisp

+2-2
Original file line numberDiff line numberDiff line change
@@ -636,8 +636,8 @@ makes the buffer displayed fullscreen."))
636636
(".focus.buffer" :inherit frame-buffer-focus)
637637
(".minibuffer" :inherit frame-minibuffer)
638638
(".float" :inherit frame-float)
639-
(".autohide" :display "none !important")
640-
(".focus .autohide" :display "block !important")
639+
(".autohide" :display "none")
640+
(".focus .autohide" :display "block")
641641
(".header" :inherit header)
642642
(".focus .header" :inherit header-focus)
643643
(".header-buffer-name" :inherit header-buffer-name)

modes/completion.lisp

+2-2
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ Should be a list of the form (WIDTH HEIGHT)")
8282
main
8383
(dom `(:div :class "content completion-menu float autohide"
8484
:style
85-
,(format nil "position: absolute; width: ~apx; height: ~apx; display: none !important;"
85+
,(format nil "position: absolute; width: ~apx; height: ~apx; display: none;"
8686
(car *completion-menu-size*)
8787
(cadr *completion-menu-size*))
8888
:buffer ,(id (completion-buffer buffer)))))
@@ -141,7 +141,7 @@ X and Y are numbers in pixels."
141141
(ps:chain node style min-width)
142142
(ps:lisp (format nil "~apx" min-width))
143143
(ps:chain node style display)
144-
"block")))
144+
null)))
145145
(current-buffer))))))
146146

147147
(defun maybe-hide-completions ()

0 commit comments

Comments
 (0)