Skip to content

Commit 25603f1

Browse files
committed
(UI) fix image input on mobile
1 parent 409bfe1 commit 25603f1

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

src/ChatWindow/Room.vue

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -761,7 +761,7 @@ textarea {
761761
762762
.image-container {
763763
position: absolute;
764-
max-width: 20%;
764+
max-width: 25%;
765765
left: 16px;
766766
top: 18px;
767767
}
@@ -782,8 +782,9 @@ textarea {
782782
783783
.icon-image {
784784
position: absolute;
785-
top: 8px;
786-
left: 8px;
785+
top: 6px;
786+
left: 6px;
787+
z-index: 10;
787788
788789
svg {
789790
height: 20px;
@@ -871,6 +872,10 @@ textarea {
871872
left: 10px;
872873
}
873874
875+
.image-file img {
876+
transform: scale(0.97);
877+
}
878+
874879
.room-footer {
875880
width: 100%;
876881
}

0 commit comments

Comments
 (0)