fix: markdown editor scroll issues with max-height (#5031)

* add markdown editor stories to show scrolling bug

* add story

* update story content

* fix markdown editor scroll

* fix space

* lint
This commit is contained in:
Truman Gao
2026-01-02 19:33:20 -08:00
committed by GitHub
parent 09a0b34df3
commit 3fc18feacf
3 changed files with 111 additions and 27 deletions

View File

@@ -67,15 +67,6 @@ textarea,
border: none;
outline: none;
&:focus,
&:focus-visible {
box-shadow:
inset 0 0 0 transparent,
0 0 0 0.25rem var(--color-brand-shadow);
color: var(--color-contrast);
outline: none;
}
&:disabled,
&[disabled] {
opacity: 0.6;