Skip to content

Commit 055577e

Browse files
authored
Move textarea scrollbar fully to the right (#31)
1 parent 071b5e8 commit 055577e

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

index.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,10 @@
8484
}
8585

8686
#editor {
87-
width: 70vw;
87+
width: 100%;
8888
height: 70vh;
89-
padding: 2.5vh;
89+
padding-inline: 25vh;
90+
padding-block: 2.5vh;
9091
font: inherit;
9192
background: transparent;
9293
color: var(--text);
@@ -95,6 +96,7 @@
9596
resize: none;
9697
transition: opacity var(--transition);
9798
tab-size: 4;
99+
box-sizing: border-box;
98100
}
99101

100102
#editor::placeholder {

0 commit comments

Comments
 (0)