From 930ef8add214110d3118df2ac56de37cddfe6bd8 Mon Sep 17 00:00:00 2001 From: mrilyew <99399973+mrilyew@users.noreply.github.com> Date: Sat, 24 May 2025 16:31:15 +0300 Subject: [PATCH] fix: textarea paddings --- Web/static/css/main.css | 18 ++++++++++++++---- Web/static/js/al_music.js | 2 +- Web/static/js/al_wall.js | 5 ++--- 3 files changed, 17 insertions(+), 8 deletions(-) diff --git a/Web/static/css/main.css b/Web/static/css/main.css index e66356bc..9da885ff 100644 --- a/Web/static/css/main.css +++ b/Web/static/css/main.css @@ -880,7 +880,7 @@ h4 { } .post-geo { - margin: 1px 0px; + margin: 8px 0px 2px -3px; padding: 0 4px; } @@ -1570,6 +1570,10 @@ body.scrolled .toTop:hover, .toTop.has_down:hover { color: #3c3c3c; } +.post-has-geo.appended-geo { + padding: 6px 0px; +} + .post-source #remove_source_button, #small_remove_button { display: inline-block; background-repeat: no-repeat; @@ -2670,7 +2674,8 @@ a.poll-retract-vote { } .post-buttons .vertical-attachment .vertical-attachment-content { - max-height: 27px; + /*max-height: 27px;*/ + padding: 3px 2px; } .vertical-attachment .vertical-attachment-content .overflowedName { @@ -3201,6 +3206,11 @@ a.poll-retract-vote { display: flex; align-items: center; gap: 1px; + padding: 5px 9px; +} + +.post-buttons .attachment_note { + padding: 3px 0px; } .attachment_note svg { @@ -4274,8 +4284,8 @@ hr { .attachments .docGalleryItem { display: block; min-width: 170px; - height: 170px; - width: 50%; + min-height: 170px; + width: 83%; margin-bottom: 4px; } diff --git a/Web/static/js/al_music.js b/Web/static/js/al_music.js index 60ca15e0..3595f1c2 100644 --- a/Web/static/js/al_music.js +++ b/Web/static/js/al_music.js @@ -1859,7 +1859,7 @@ function showAudioAttachment(type = 'form', form = null) } let is_attached = false if(type == 'form') { - is_attached = (u(form).find(`.post-vertical .vertical-attachment[data-id='${id}']`)).length > 0 + is_attached = (u(form).find(`.post-vertical .vertical-attachment[data-type='audio'][data-id='${id}']`)).length > 0 } else { is_attached = (u(form).find(`.PE_audios .vertical-attachment[data-id='${id}']`)).length > 0 } diff --git a/Web/static/js/al_wall.js b/Web/static/js/al_wall.js index 26fb88fa..5f57bee6 100644 --- a/Web/static/js/al_wall.js +++ b/Web/static/js/al_wall.js @@ -2439,8 +2439,7 @@ u(document).on('click', '#__sourceAttacher', (e) => { MessageBox(tr('add_source'), `