mirror of
https://github.com/vichan-devel/vichan.git
synced 2025-02-08 23:39:46 +01:00
post-hover.js: fix borders
This commit is contained in:
parent
9eb36fe3f3
commit
75977269f3
@ -126,6 +126,7 @@ if (!window.matchMedia('(any-hover: none)').matches) {
|
||||
.attr('id', 'post-hover-' + id)
|
||||
.attr('data-board', board)
|
||||
.addClass('post-hover')
|
||||
.css('border-style', 'solid')
|
||||
.css('display', 'inline-block')
|
||||
.css('position', 'absolute')
|
||||
.css('font-style', 'normal')
|
||||
@ -134,12 +135,10 @@ if (!window.matchMedia('(any-hover: none)').matches) {
|
||||
if (isScreenSmall) {
|
||||
hoverPreview
|
||||
.css('margin-top', '1em')
|
||||
.css('border-top', 'solid')
|
||||
.css('border-bottom', 'solid');
|
||||
.css('border-left-style', 'none')
|
||||
.css('border-right-style', 'none');
|
||||
} else {
|
||||
hoverPreview
|
||||
.css('margin-left', '1em')
|
||||
.css('border-style', 'solid');
|
||||
hoverPreview.css('margin-left', '1em');
|
||||
}
|
||||
|
||||
hoverPreview.addClass('reply').addClass('post')
|
||||
|
Loading…
x
Reference in New Issue
Block a user