mirror of
https://github.com/openvk/openvk
synced 2025-06-07 22:59:58 +03:00
fix: textarea paddings
This commit is contained in:
parent
e1cbffc10e
commit
930ef8add2
3 changed files with 17 additions and 8 deletions
|
@ -880,7 +880,7 @@ h4 {
|
||||||
}
|
}
|
||||||
|
|
||||||
.post-geo {
|
.post-geo {
|
||||||
margin: 1px 0px;
|
margin: 8px 0px 2px -3px;
|
||||||
padding: 0 4px;
|
padding: 0 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1570,6 +1570,10 @@ body.scrolled .toTop:hover, .toTop.has_down:hover {
|
||||||
color: #3c3c3c;
|
color: #3c3c3c;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.post-has-geo.appended-geo {
|
||||||
|
padding: 6px 0px;
|
||||||
|
}
|
||||||
|
|
||||||
.post-source #remove_source_button, #small_remove_button {
|
.post-source #remove_source_button, #small_remove_button {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
|
@ -2670,7 +2674,8 @@ a.poll-retract-vote {
|
||||||
}
|
}
|
||||||
|
|
||||||
.post-buttons .vertical-attachment .vertical-attachment-content {
|
.post-buttons .vertical-attachment .vertical-attachment-content {
|
||||||
max-height: 27px;
|
/*max-height: 27px;*/
|
||||||
|
padding: 3px 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.vertical-attachment .vertical-attachment-content .overflowedName {
|
.vertical-attachment .vertical-attachment-content .overflowedName {
|
||||||
|
@ -3201,6 +3206,11 @@ a.poll-retract-vote {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 1px;
|
gap: 1px;
|
||||||
|
padding: 5px 9px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.post-buttons .attachment_note {
|
||||||
|
padding: 3px 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.attachment_note svg {
|
.attachment_note svg {
|
||||||
|
@ -4274,8 +4284,8 @@ hr {
|
||||||
.attachments .docGalleryItem {
|
.attachments .docGalleryItem {
|
||||||
display: block;
|
display: block;
|
||||||
min-width: 170px;
|
min-width: 170px;
|
||||||
height: 170px;
|
min-height: 170px;
|
||||||
width: 50%;
|
width: 83%;
|
||||||
margin-bottom: 4px;
|
margin-bottom: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1859,7 +1859,7 @@ function showAudioAttachment(type = 'form', form = null)
|
||||||
}
|
}
|
||||||
let is_attached = false
|
let is_attached = false
|
||||||
if(type == 'form') {
|
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 {
|
} else {
|
||||||
is_attached = (u(form).find(`.PE_audios .vertical-attachment[data-id='${id}']`)).length > 0
|
is_attached = (u(form).find(`.PE_audios .vertical-attachment[data-id='${id}']`)).length > 0
|
||||||
}
|
}
|
||||||
|
|
|
@ -2439,8 +2439,7 @@ u(document).on('click', '#__sourceAttacher', (e) => {
|
||||||
MessageBox(tr('add_source'), `
|
MessageBox(tr('add_source'), `
|
||||||
<div id='source_flex_kunteynir'>
|
<div id='source_flex_kunteynir'>
|
||||||
<span>${tr('set_source_tip')}</span>
|
<span>${tr('set_source_tip')}</span>
|
||||||
<!-- давай, копируй ссылку и переходи по ней -->
|
<input type='text' maxlength='400' placeholder='...'>
|
||||||
<input type='text' maxlength='400' placeholder='https://www.youtube.com/watch?v=lkWuk_nzzVA'>
|
|
||||||
</div>
|
</div>
|
||||||
`, [tr('cancel')], [
|
`, [tr('cancel')], [
|
||||||
() => {Function.noop}
|
() => {Function.noop}
|
||||||
|
@ -2650,7 +2649,7 @@ u(document).on('click', "#__geoAttacher", async (e) => {
|
||||||
${tplMapIcon}
|
${tplMapIcon}
|
||||||
<span>${escapeHtml(geo_name)}</span>
|
<span>${escapeHtml(geo_name)}</span>
|
||||||
<div id="small_remove_button"></div>
|
<div id="small_remove_button"></div>
|
||||||
`)
|
`).addClass("appended-geo")
|
||||||
}, () => {}]
|
}, () => {}]
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue