Skip to content

Commit 0c14dac

Browse files
committed
Update layout's responsiveness
1 parent 742bacc commit 0c14dac

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

src/app/styles/main.scss

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ body {
3434

3535
.components-selector-container {
3636
display: flex;
37-
flex-grow: 1;
38-
width: 250px;
37+
// flex-grow: 1;
38+
min-width: 290px;
3939
border-right: 1px solid rgba($border-col, 0.1);
4040
overflow: hidden;
4141

@@ -56,7 +56,7 @@ body {
5656
padding-top: 1em !important;
5757
}
5858

59-
$active-col: white;
59+
$active-col: #eee;
6060
#components-list {
6161
$font-size: 1.1em;
6262
flex-grow: 1;
@@ -126,7 +126,7 @@ $active-col: white;
126126
& > ul > li {
127127
color: rgba($text-col, 0.6);
128128
display: flex;
129-
margin-bottom: .4em;
129+
margin-bottom: .5em;
130130
margin-left: .5em;
131131
font-size: $font-size;
132132
list-style: none;
@@ -138,7 +138,8 @@ $active-col: white;
138138
& .text {
139139
padding: .1em .3em;
140140
color: rgba($text-col, 0.6);
141-
border-radius: 6px;
141+
// font-weight: bold;
142+
border-radius: 4px;
142143
transition: .3s ease;
143144
}
144145

@@ -256,7 +257,7 @@ $active-col: white;
256257
flex-grow: 1;
257258
flex-direction: column;
258259

259-
width: 920px;
260+
max-width: 920px;
260261
}
261262

262263
.preview-info {

0 commit comments

Comments
 (0)