Skip to content

Commit 7032f5d

Browse files
committed
(refacto) text-ellipsis css
1 parent ef2f52f commit 7032f5d

File tree

4 files changed

+6
-19
lines changed

4 files changed

+6
-19
lines changed

src/ChatWindow/Room/RoomHeader.vue

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -184,12 +184,6 @@ export default {
184184
height: 100%;
185185
}
186186
187-
.vac-text-ellipsis {
188-
white-space: nowrap;
189-
overflow: hidden;
190-
text-overflow: ellipsis;
191-
}
192-
193187
.vac-room-name {
194188
font-size: 17px;
195189
font-weight: 500;

src/ChatWindow/RoomsList/RoomContent.vue

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -233,12 +233,6 @@ export default {
233233
flex: 1;
234234
}
235235
236-
.vac-text-ellipsis {
237-
white-space: nowrap;
238-
overflow: hidden;
239-
text-overflow: ellipsis;
240-
}
241-
242236
.vac-title-container {
243237
display: flex;
244238
align-items: center;

src/components/FormatMessage.vue

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -156,13 +156,6 @@ export default {
156156
fill: var(--chat-room-color-message);
157157
}
158158
159-
.vac-text-ellipsis {
160-
width: 100%;
161-
white-space: nowrap;
162-
overflow: hidden;
163-
text-overflow: ellipsis;
164-
}
165-
166159
.vac-image-link-container {
167160
background-color: var(--chat-message-bg-color-media);
168161
padding: 8px;

src/styles/helper.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,12 @@
7272
font-weight: 500;
7373
}
7474

75+
.vac-text-ellipsis {
76+
white-space: nowrap;
77+
overflow: hidden;
78+
text-overflow: ellipsis;
79+
}
80+
7581
.vac-text-bold {
7682
font-weight: bold;
7783
}

0 commit comments

Comments
 (0)