fix: textarea paddings

This commit is contained in:
mrilyew 2025-05-24 16:31:15 +03:00 committed by Alexander Minkin
parent e1cbffc10e
commit 930ef8add2
3 changed files with 17 additions and 8 deletions

View file

@ -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;
}

View file

@ -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
}

View file

@ -2439,8 +2439,7 @@ u(document).on('click', '#__sourceAttacher', (e) => {
MessageBox(tr('add_source'), `
<div id='source_flex_kunteynir'>
<span>${tr('set_source_tip')}</span>
<!-- давай, копируй ссылку и переходи по ней -->
<input type='text' maxlength='400' placeholder='https://www.youtube.com/watch?v=lkWuk_nzzVA'>
<input type='text' maxlength='400' placeholder='...'>
</div>
`, [tr('cancel')], [
() => {Function.noop}
@ -2650,7 +2649,7 @@ u(document).on('click', "#__geoAttacher", async (e) => {
${tplMapIcon}
<span>${escapeHtml(geo_name)}</span>
<div id="small_remove_button"></div>
`)
`).addClass("appended-geo")
}, () => {}]
})