Skip to content

Commit 278e559

Browse files
committed
(fix) loading spinner responsiveness
1 parent c8d1aa3 commit 278e559

File tree

2 files changed

+26
-2
lines changed

2 files changed

+26
-2
lines changed

src/ChatWindow/Loader.vue

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ export default {
3636
3737
#circle {
3838
margin: auto;
39-
height: 32px;
40-
width: 32px;
39+
height: 28px;
40+
width: 28px;
4141
border: 3px rgba(0, 0, 0, 0.25) solid;
4242
border-top: 3px var(--chat-color-spinner) solid;
4343
border-right: 3px var(--chat-color-spinner) solid;
@@ -47,6 +47,22 @@ export default {
4747
animation: spin 1s infinite linear;
4848
}
4949
50+
@media only screen and (max-width: 768px) {
51+
#circle {
52+
height: 24px;
53+
width: 24px;
54+
}
55+
56+
.container-top {
57+
padding: 18px;
58+
59+
#circle {
60+
height: 16px;
61+
width: 16px;
62+
}
63+
}
64+
}
65+
5066
@-webkit-keyframes spin {
5167
from {
5268
-webkit-transform: rotate(0deg);

src/ChatWindow/Room.vue

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -865,11 +865,19 @@ textarea {
865865
}
866866
}
867867
868+
.container-scroll {
869+
padding-top: 50px;
870+
}
871+
868872
.box-footer {
869873
border-top: var(--chat-border-style-input);
870874
padding: 7px 2px 7px 7px;
871875
}
872876
877+
.text-started {
878+
margin-top: 20px;
879+
}
880+
873881
textarea {
874882
padding: 7px;
875883
line-height: 18px;

0 commit comments

Comments
 (0)