Skip to content

Commit 4d2b532

Browse files
committed
Cleanup.
1 parent f6afaac commit 4d2b532

5 files changed

Lines changed: 8 additions & 26 deletions

File tree

Public/app/css/main.css

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2181,24 +2181,6 @@ input[type="text"]:disabled, textarea:disabled {
21812181
align-items: center;
21822182
}
21832183

2184-
.message {
2185-
display: flex;
2186-
margin-bottom: 2px;
2187-
align-items: flex-start;
2188-
}
2189-
2190-
.message.own {
2191-
flex-direction: row-reverse;
2192-
}
2193-
2194-
.message.author-change {
2195-
margin-top: 10px;
2196-
}
2197-
2198-
.message.own .message-content-row {
2199-
justify-content: flex-end;
2200-
}
2201-
22022184
.message-author {
22032185
font-weight: 600;
22042186
font-size: 0.8rem;

Public/app/js/chat.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ function buildAttachmentHTML(attachments, messageId) {
325325
${hasMultipleAttachments ? `
326326
<button class="message-attachment-chevron message-attachment-chevron-left" onclick="event.stopPropagation(); navigateMessageAttachment('${messageId}', -1)">
327327
<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round">
328-
<path d="m15 18-6-6 6-6"></path>
328+
<path d="m14 18-6-6 6-6"></path>
329329
</svg>
330330
</button>
331331
` : ''}
@@ -339,7 +339,7 @@ function buildAttachmentHTML(attachments, messageId) {
339339
${hasMultipleAttachments ? `
340340
<button class="message-attachment-chevron message-attachment-chevron-right" onclick="event.stopPropagation(); navigateMessageAttachment('${messageId}', 1)">
341341
<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round">
342-
<path d="m9 18 6-6-6-6"></path>
342+
<path d="m10 18 6-6-6-6"></path>
343343
</svg>
344344
</button>
345345
` : ''}

Public/app/js/main.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1003,7 +1003,7 @@ function displayUserInfo(user) {
10031003
${hasMultiplePhotos ? `
10041004
<button class="user-profile-avatar-chevron user-profile-avatar-chevron-left" onclick="event.stopPropagation(); navigateUserInfoPhoto(-1)" title="Previous photo">
10051005
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
1006-
<path d="m15 18-6-6 6-6"></path>
1006+
<path d="m14 18-6-6 6-6"></path>
10071007
</svg>
10081008
</button>
10091009
` : ''}
@@ -1013,7 +1013,7 @@ function displayUserInfo(user) {
10131013
${hasMultiplePhotos ? `
10141014
<button class="user-profile-avatar-chevron user-profile-avatar-chevron-right" onclick="event.stopPropagation(); navigateUserInfoPhoto(1)" title="Next photo">
10151015
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
1016-
<path d="m9 18 6-6-6-6"></path>
1016+
<path d="m10 18 6-6-6-6"></path>
10171017
</svg>
10181018
</button>
10191019
` : ''}

Public/app/js/media-viewer.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,15 @@ function createMediaViewerHTML(photos, currentIndex, viewerId = 'mediaViewer', t
2424
${hasMultiplePhotos ? `
2525
<button class="media-viewer-chevron media-viewer-chevron-left" onclick="navigateMediaViewerPhoto(-1)">
2626
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
27-
<path d="m15 18-6-6 6-6"></path>
27+
<path d="m14 18-6-6 6-6"></path>
2828
</svg>
2929
</button>
3030
` : ''}
3131
<img class="media-viewer-image" id="${viewerId}Image" src="" alt="">
3232
${hasMultiplePhotos ? `
3333
<button class="media-viewer-chevron media-viewer-chevron-right" onclick="navigateMediaViewerPhoto(1)">
3434
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
35-
<path d="m9 18 6-6-6-6"></path>
35+
<path d="m10 18 6-6-6-6"></path>
3636
</svg>
3737
</button>
3838
` : ''}

Public/app/js/user-profile.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ function displayCurrentUserProfile() {
8585
${hasMultiplePhotos ? `
8686
<button class="user-profile-avatar-chevron user-profile-avatar-chevron-left" onclick="event.stopPropagation(); navigateAvatarPhoto(-1)" title="Previous photo">
8787
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
88-
<path d="m15 18-6-6 6-6"></path>
88+
<path d="m14 18-6-6 6-6"></path>
8989
</svg>
9090
</button>
9191
` : ''}
@@ -102,7 +102,7 @@ function displayCurrentUserProfile() {
102102
${hasMultiplePhotos ? `
103103
<button class="user-profile-avatar-chevron user-profile-avatar-chevron-right" onclick="event.stopPropagation(); navigateAvatarPhoto(1)" title="Next photo">
104104
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
105-
<path d="m9 18 6-6-6-6"></path>
105+
<path d="m10 18 6-6-6-6"></path>
106106
</svg>
107107
</button>
108108
` : ''}

0 commit comments

Comments
 (0)