mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-10-23 03:48:11 +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
|
<textarea
|
||||||
id={@id}
|
id={@id}
|
||||||
data-el-input
|
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"
|
name="value"
|
||||||
phx-hook="TextareaAutosize"
|
phx-hook="TextareaAutosize"
|
||||||
phx-debounce="blur"
|
phx-debounce="blur"
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue