Skip to content

Commit 9cf5a2f

Browse files
authored
Make text area width properly adjust to small screens (#33)
1 parent f48a3d4 commit 9cf5a2f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@
8686
#editor {
8787
width: 100%;
8888
height: 80vh;
89-
padding-inline: 20vh;
89+
padding-inline: clamp(20px, 10vw, 20vh);
9090
padding-block: 2.5vh;
9191
font: inherit;
9292
background: transparent;

0 commit comments

Comments
 (0)