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({
|
||||
hpack: 'start',
|
||||
homogeneous: true,
|
||||
className: 'sidebar-booru-imagegrid margin-top-5',
|
||||
className: 'sidebar-booru-imagegrid',
|
||||
})
|
||||
const pageImageRevealer = Revealer({
|
||||
transition: 'slide_down',
|
||||
|
||||
@@ -186,13 +186,16 @@ const WaifuImage = (taglist) => {
|
||||
transition: 'slide_down',
|
||||
transitionDuration: userOptions.animations.durationLarge,
|
||||
revealChild: false,
|
||||
child: Overlay({
|
||||
child: Box({
|
||||
homogeneous: true,
|
||||
className: 'sidebar-waifu-image margin-top-5',
|
||||
children: [blockImage],
|
||||
}),
|
||||
overlays: [blockImageActions],
|
||||
child: Box({
|
||||
className: 'margin-top-5',
|
||||
children: [Overlay({
|
||||
child: Box({
|
||||
homogeneous: true,
|
||||
className: 'sidebar-waifu-image',
|
||||
children: [blockImage],
|
||||
}),
|
||||
overlays: [blockImageActions],
|
||||
})]
|
||||
}),
|
||||
});
|
||||
const thisBlock = Box({
|
||||
|
||||
Reference in New Issue
Block a user