forked from Shinonome/dots-hyprland
sidebar: fix booru and waifu image action buttons
This commit is contained in:
@@ -290,8 +290,9 @@ const BooruPage = (taglist, serviceName = 'Booru') => {
|
|||||||
]
|
]
|
||||||
});
|
});
|
||||||
const pageImages = Box({
|
const pageImages = Box({
|
||||||
|
hpack: 'start',
|
||||||
homogeneous: true,
|
homogeneous: true,
|
||||||
className: 'sidebar-booru-imagegrid margin-top-5',
|
className: 'sidebar-booru-imagegrid',
|
||||||
})
|
})
|
||||||
const pageImageRevealer = Revealer({
|
const pageImageRevealer = Revealer({
|
||||||
transition: 'slide_down',
|
transition: 'slide_down',
|
||||||
|
|||||||
@@ -186,13 +186,16 @@ const WaifuImage = (taglist) => {
|
|||||||
transition: 'slide_down',
|
transition: 'slide_down',
|
||||||
transitionDuration: userOptions.animations.durationLarge,
|
transitionDuration: userOptions.animations.durationLarge,
|
||||||
revealChild: false,
|
revealChild: false,
|
||||||
child: Overlay({
|
child: Box({
|
||||||
child: Box({
|
className: 'margin-top-5',
|
||||||
homogeneous: true,
|
children: [Overlay({
|
||||||
className: 'sidebar-waifu-image margin-top-5',
|
child: Box({
|
||||||
children: [blockImage],
|
homogeneous: true,
|
||||||
}),
|
className: 'sidebar-waifu-image',
|
||||||
overlays: [blockImageActions],
|
children: [blockImage],
|
||||||
|
}),
|
||||||
|
overlays: [blockImageActions],
|
||||||
|
})]
|
||||||
}),
|
}),
|
||||||
});
|
});
|
||||||
const thisBlock = Box({
|
const thisBlock = Box({
|
||||||
|
|||||||
Reference in New Issue
Block a user