Skip to content

Commit 1a61da5

Browse files
committed
Add scrollbar to trix-editor
1 parent aaf1907 commit 1a61da5

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

app/css/index.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,9 @@ span.title {
6161
padding: 1.2rem 0 0 2rem;
6262
}
6363
.log.content {
64-
height: 23em;
64+
overflow-y: scroll;
65+
min-height: 23em;
66+
max-height: 25em;
6567
}
6668
.save-status {
6769
height: 1em;

app/css/index.less

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,9 @@ span.title {
8787
}
8888

8989
.log.content {
90-
height: 23em;
90+
overflow-y: scroll;
91+
min-height: 23em;
92+
max-height: 25em;
9193
}
9294

9395
.save-status {

0 commit comments

Comments
 (0)