Skip to content

Commit

Permalink
smaller <textarea>
Browse files Browse the repository at this point in the history
  • Loading branch information
ug.rp committed Apr 25, 2024
1 parent ef04aaa commit 62c1c2b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion public/themes/classic.css
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ r4-app {
--s: 1rem;
--s-radius: 4px;
--s-form: calc(var(--s) * 36);
--s-textarea: calc(var(--s) * 10);
--s-textarea: calc(var(--s) * 5);
--font: Maison Neue, system-ui, sans-serif;
--s-line-height: 1.3125;
--c-light: hsl(0deg 0% 98%);
Expand Down Expand Up @@ -221,6 +221,7 @@ r4-page-main {
/* same size header */
r4-page-header {
display: flex;
flex-wrap: wrap;
& h1 {
font-size: 1.2em;
margin: 0;
Expand Down
2 changes: 1 addition & 1 deletion src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ r4-app r4-layout::part(controls-button) {
line-height: var(--s-line-height);
}
r4-app textarea {
min-height: calc(var(--s) * 5);
min-height: calc(var(--s) * 3);
resize: vertical;
}
r4-app button,
Expand Down

0 comments on commit 62c1c2b

Please sign in to comment.