Browse code

Add basic styling for autocomplete suggestions

Joseph Weston authored on 12/12/2021 21:54:20
Showing 1 changed files
... ...
@@ -202,4 +202,13 @@
202 202
     :padding 0
203 203
     :width (calc "100% - 2ch")}
204 204
    [:&:focus
205
-    {:outline :none}]])
205
+    {:outline :none}]]
206
+  [:ul.suggestions
207
+   {:position :absolute
208
+    :padding-left :3ch
209
+    :padding-right :1ch
210
+    :bottom 0
211
+    :left 0
212
+    :margin-bottom :1.2rem
213
+    :background-color (colorscheme :light0-soft)}
214
+   [:li {:list-style :none}]])