Skip to content

Commit

Permalink
sidebar: fix booru and waifu image action buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
end-4 committed Aug 9, 2024
1 parent 8e3e0ac commit d453a85
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
3 changes: 2 additions & 1 deletion .config/ags/modules/sideleft/apis/booru.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
17 changes: 10 additions & 7 deletions .config/ags/modules/sideleft/apis/waifu.js
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down

0 comments on commit d453a85

Please sign in to comment.