Skip to content

Commit 856b08d

Browse files
committed
fix: minor ui adjustment to styling editor
1 parent b87540d commit 856b08d

File tree

4 files changed

+11
-6
lines changed

4 files changed

+11
-6
lines changed

packages/studio-web/src/app/editor/editor.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ <h2 i18n="Title for upload box" class="title">
6969
<div id="readalongContainer" #readalongContainer></div>
7070
<div [class.d-none]="!hasFile" [class.d-lg-flex]="hasFile" class="flex-row">
7171
<div
72-
class="handle me-2 d-none d-lg-block"
72+
class="m-0 p-0 handle me-xl-2 d-none d-xl-block"
7373
#handle
7474
draggable="true"
7575
id="handle"

packages/studio-web/src/app/editor/editor.component.sass

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,11 @@
88
--bs-gutter-x: 0
99

1010
#readalongContainer
11-
margin: 0 2.5vw
11+
margin: 0 auto
12+
13+
#styleWindow
14+
justify-content: start
15+
margin: 0 auto
1216

1317
@media screen and (min-width:1200px)
1418
div > #handle
@@ -23,7 +27,8 @@
2327
margin-top: 1em
2428
cursor: col-resize
2529
z-index: 1000
26-
30+
display: block
31+
#styleWindow
32+
margin: 0
2733
app-wc-styling:has(#style-section.collapsed)
2834
width: 100px
29-

packages/studio-web/src/app/shared/wc-styling/wc-styling.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#styleSection
33
id="style-section"
44
[class]="
5-
'col p-3 bg-light' + ((collapsed$ | async) ? ' collapsed' : ' ms-xl-5')
5+
'p-xl-3 pt-3 bg-light' + ((collapsed$ | async) ? ' collapsed' : ' ms-xl-5')
66
"
77
>
88
<div class="d-flex flex-column flex-md-row justify-content-between header">

packages/studio-web/src/app/shared/wc-styling/wc-styling.component.sass

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ h2
4040
@media only screen and (max-width:1200px)
4141
#style-section
4242
width: 95vw
43-
margin-left: 2.5vw
43+
margin: auto
4444

4545
div.header > div.helper-text
4646
display: none !important

0 commit comments

Comments
 (0)