Skip to content

Commit

Permalink
prompt-buffer.lisp: Tweak font sizes.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmercouris committed Jan 21, 2024
1 parent d154d69 commit 78e9ff3
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions source/prompt-buffer.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ See `nyxt::attribute-widths'.")
:margin "0"
:padding "0")
`("#prompt-area"
:font-size "14px"
:background-color ,theme:primary
:color ,theme:on-primary
:border-top "2px solid"
Expand Down Expand Up @@ -180,6 +181,7 @@ See `nyxt::attribute-widths'.")
:margin-left "10px"
:margin-top "15px")
`(".source-name"
:font-size "14px"
:padding-left "4px"
:background-color ,theme:secondary
:color ,theme:on-secondary
Expand All @@ -206,7 +208,10 @@ See `nyxt::attribute-widths'.")
:overflow-x "hidden"
:height "100%"
:margin-right "3px")
`(".suggestion-and-mark-count"
:font-family ,theme:monospace-font-family)
`(".source-content"
:font-size "14px"
:margin-left "16px"
:width "100%"
:table-layout "fixed"
Expand Down Expand Up @@ -559,10 +564,11 @@ This does not redraw the whole prompt buffer, use `prompt-render' for that."
(prompter:name source)
(if (prompter:hide-suggestion-count-p source)
""
(suggestion-and-mark-count prompt-buffer
(prompter:suggestions source)
(prompter:marks source)
:enable-marks-p (prompter:enable-marks-p source)))
(:span :class "suggestion-and-mark-count"
(suggestion-and-mark-count prompt-buffer
(prompter:suggestions source)
(prompter:marks source)
:enable-marks-p (prompter:enable-marks-p source))))
(if (prompter:ready-p source) "" "(In progress...)"))
(:div
(:nbutton
Expand Down

0 comments on commit 78e9ff3

Please sign in to comment.