sidebar: fix booru and waifu image action buttons

This commit is contained in:
end-4
2024-08-09 11:15:40 +07:00
parent 8e3e0acc25
commit d453a85185
2 changed files with 12 additions and 8 deletions
+2 -1
View File
@@ -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',
+10 -7
View File
@@ -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({