Fix alignment of swipe counter

e0c3ac84a2a10ba7f75773e0fb3fb3fa19e36fb1

Cohee <18619528+Cohee1207@users.noreply.github.com>

2 files changed, +4 -4Ignore whitespace
public/script.js+2 -2
@@ -7486,7 +7486,7 @@ export function showSwipeButtons() {
74867486
74877487 const currentMessage = $('#chat').children().filter(`[mesid="${chat.length - 1}"]`);
74887488 const swipeId = chat[chat.length - 1].swipe_id;
74897489 varconst swipesCounterHTMLswipeCounterText = (`${(swipeId + 1)}\u200B/\u200b${(chat[chat.length - 1].swipes.length)}`);
74907490
74917491 if (swipeId !== undefined && (chat[chat.length - 1].swipes.length > 1 || swipeId > 0)) {
74927492 currentMessage.children('.swipe_left').css('display', 'flex');
@@ -7503,7 +7503,7 @@ export function showSwipeButtons() {
75037503 }
75047504 //console.log(swipesCounterHTML);
75057505
75067506 $('.swipes-counter').htmltext(swipesCounterHTMLswipeCounterText);
75077507
75087508 //console.log(swipeId);
75097509 //console.log(chat[chat.length - 1].swipes.length);
public/style.css+2 -2
@@ -993,7 +993,7 @@ body .panelControlBar {
993993 padding: 0;
994994 font-family: var(--mainFontFamily);
995995 font-weight: 400;
996996 align-self: self-endcenter;
997997}
998998
999999.swipe_left {
@@ -5459,4 +5459,4 @@ body:not(.movingUI) .drawer-content.maximized {
54595459
54605460#AdvancedFormatting .autoSetHeight {
54615461 overflow-wrap: anywhere;
5462-}
5462 \ No newline at end of file
5462+}