Skip to content

Commit ccb1358

Browse files
committed
view: [toolbar] remove hardcoded width
1 parent b4d10d9 commit ccb1358

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/editor/view/components/index.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
@import '@/scss/colors';
22

33
#editor {
4-
width: 100%;
4+
width: 26rem;
55
height: 100%;
66

77
.editor-wrapper {

src/view/components/toolbar/index.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
display: flex;
6262
flex-direction: column;
6363
box-sizing: border-box;
64-
width: 20rem;
64+
max-width: 30rem;
6565
height: 100%;
6666
padding: 0.5rem;
6767

0 commit comments

Comments
 (0)