mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-10-19 01:46:19 +08:00
Support monospace font in textarea input (#1565)
This commit is contained in:
parent
95bf611664
commit
e9d88ad7d7
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ defmodule LivebookWeb.Output.InputComponent do
|
|||
<textarea
|
||||
id={@id}
|
||||
data-el-input
|
||||
class="input min-h-[38px] max-h-[300px] tiny-scrollbar"
|
||||
class={"input min-h-[38px] max-h-[300px] tiny-scrollbar #{if(@attrs[:monospace], do: "font-mono")}"}
|
||||
name="value"
|
||||
phx-hook="TextareaAutosize"
|
||||
phx-debounce="blur"
|
||||
|
|
Loading…
Add table
Reference in a new issue