When adding widgets with
event.listen {
name = "hooks:renderBottomWidgets",
run = function(e)
-- snip --
end
}
They appear to be in a scrollable “container” which only showed part of the bottom hooks. Since I wanted to see the entirety of them, I wanted to remove said “container”.
After searching for a bit, I discovered that removing the line:
#sb-main .cm-editor .sb-markdown-bottom-widget:has(*) .content {
overflow-y: auto;
}
From main.css did the trick in removing the “container”.
Thus, I added the following space-style:
#sb-main .cm-editor .sb-markdown-bottom-widget:has(*) .content {
overflow-y: visible !important;
}
But it doesn’t look like it does anything? Am I doing something wrong? Can someone test this? And is there a better way of going about this?
(I’m putting container between quotes since I don’t actually know the name)