Skip to content

Commit

Permalink
remove unnecessary !important
Browse files Browse the repository at this point in the history
  • Loading branch information
kchanqvq committed Nov 29, 2024
1 parent a9664a4 commit 58efbf4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions frame.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -636,8 +636,8 @@ makes the buffer displayed fullscreen."))
(".focus.buffer" :inherit frame-buffer-focus)
(".minibuffer" :inherit frame-minibuffer)
(".float" :inherit frame-float)
(".autohide" :display "none !important")
(".focus .autohide" :display "block !important")
(".autohide" :display "none")
(".focus .autohide" :display "block")
(".header" :inherit header)
(".focus .header" :inherit header-focus)
(".header-buffer-name" :inherit header-buffer-name)
Expand Down
4 changes: 2 additions & 2 deletions modes/completion.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ Should be a list of the form (WIDTH HEIGHT)")
main
(dom `(:div :class "content completion-menu float autohide"
:style
,(format nil "position: absolute; width: ~apx; height: ~apx; display: none !important;"
,(format nil "position: absolute; width: ~apx; height: ~apx; display: none;"
(car *completion-menu-size*)
(cadr *completion-menu-size*))
:buffer ,(id (completion-buffer buffer)))))
Expand Down Expand Up @@ -141,7 +141,7 @@ X and Y are numbers in pixels."
(ps:chain node style min-width)
(ps:lisp (format nil "~apx" min-width))
(ps:chain node style display)
"block")))
null)))
(current-buffer))))))

(defun maybe-hide-completions ()
Expand Down

0 comments on commit 58efbf4

Please sign in to comment.