discourse/app/assets/stylesheets/common/form-kit/_control-textarea.scss
Kris 1a1bd0edbc
UX: improve review queue layout for small screens (#39377)
This adds some breakpoints and utilizes our horizontalOverflowNav
component to make the review queue layout better on small screens.


Before:

<img width="500" alt="image"
src="https://github.com/user-attachments/assets/65ed1903-f263-4ba1-a279-17be068a5129"
/>

<img width="500" alt="image"
src="https://github.com/user-attachments/assets/8f06fd34-ecdc-4f7e-8a16-4601be28df4d"
/>

<img width="500" alt="image"
src="https://github.com/user-attachments/assets/353b9e41-b82d-48df-80b7-f225523bc46e"
/>



After:

<img width="500" alt="image"
src="https://github.com/user-attachments/assets/ee5c6562-7311-497f-a59d-63911a192822"
/>
<img width="500" alt="image"
src="https://github.com/user-attachments/assets/21968af7-c1e6-4517-a021-bf3c2f62630b"
/>
<img width="500" alt="image"
src="https://github.com/user-attachments/assets/ab3cf57f-38df-46ce-b4a8-953adefc6b9d"
/>
2026-04-20 14:18:44 -04:00

13 lines
327 B
SCSS
Vendored

.form-kit__control-textarea {
// prevents firefox/chrome to add spacing under textarea
display: block;
min-height: 150px;
min-width: var(--form-kit-large-input);
@include default-input {
// reset textarea styles
height: 150px;
padding: 0.5em !important;
min-width: var(--form-kit-small-input);
}
}