Skip to content

Commit afcaa2e

Browse files
authored
Merge pull request #49 from gVguy/master
Improve demo chat layout
2 parents f2461a0 + e343a90 commit afcaa2e

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

src/modules/blocks/demo.scss

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ $className: 'demo';
5656
}
5757

5858
&__input {
59+
width: 100%;
5960
max-width: 100%;
6061
appearance: none;
6162
border: none;
@@ -75,12 +76,13 @@ $className: 'demo';
7576
margin: 0 5px 5px 5px;
7677
color: $fontPrimaryInvertedColor;
7778
background-color: $accentPrimaryColor;
79+
align-self: flex-end;
7880

7981
&_theirs {
8082
color: $fontPrimaryColor;
8183
border-color: #dcdcdc;
8284
background-color: #dcdcdc;
83-
align-self: flex-end;
85+
align-self: flex-start;
8486
}
8587
}
8688

@@ -101,7 +103,7 @@ $className: 'demo';
101103
border-bottom: 1px solid $borderPrimaryColor;
102104

103105
&_offline {
104-
& [role=status] {
106+
& [role='status'] {
105107
color: $fontSecondaryColor;
106108

107109
&::before {
@@ -134,13 +136,13 @@ $className: 'demo';
134136

135137
&__status {
136138
font-size: 0.8rem;
137-
color: #48BE00;
139+
color: #48be00;
138140
font-weight: bold;
139141
text-decoration: none;
140142
position: relative;
141143

142144
&::before {
143-
content: "";
145+
content: '';
144146
font-size: 40px;
145147
position: absolute;
146148
left: -14px;
@@ -149,4 +151,4 @@ $className: 'demo';
149151
}
150152
}
151153
}
152-
}
154+
}

0 commit comments

Comments
 (0)