Skip to content

Commit d9f4ce2

Browse files
committed
(clean) remove css font-weight
1 parent ca4e87a commit d9f4ce2

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

demo/src/App.vue

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,10 @@ body {
122122
font-family: 'Roboto', sans-serif;
123123
line-height: 1.5;
124124
padding: 10px 20px 20px;
125+
126+
* {
127+
font-weight: 300;
128+
}
125129
}
126130
127131
select {

src/ChatWindow/ChatMessage.vue

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,6 @@ export default {
268268
flex: 0 0 50%;
269269
max-width: 50%;
270270
justify-content: flex-start;
271-
font-weight: 300;
272271
line-height: 1.4;
273272
}
274273
@@ -370,7 +369,6 @@ export default {
370369
371370
.text-timestamp {
372371
font-size: 10px;
373-
font-weight: 300;
374372
color: var(--chat-color-message-timestamp);
375373
text-align: right;
376374
}

src/ChatWindow/MessagesList.vue

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
class="room-avatar"
77
:style="{ background: `url(${room.avatar})` }"
88
></div>
9-
<div>{{ room.roomName }}</div>
9+
<div class="room-name">{{ room.roomName }}</div>
1010
<div
1111
class="svg-button room-options"
1212
v-if="menuActions.length"
@@ -419,6 +419,10 @@ export default {
419419
border-radius: 50%;
420420
}
421421
422+
.room-name {
423+
font-size: 17px;
424+
}
425+
422426
.room-options {
423427
margin-left: auto;
424428
}
@@ -529,7 +533,6 @@ export default {
529533
display: flex;
530534
padding: 10px;
531535
background: var(--chat-bg-color-footer);
532-
font-weight: 300;
533536
z-index: -1;
534537
}
535538
@@ -566,7 +569,6 @@ textarea {
566569
caret-color: #1976d2;
567570
border: none;
568571
font-size: 16px;
569-
font-weight: 300;
570572
571573
&::placeholder {
572574
color: #9ca6af;

0 commit comments

Comments
 (0)