Is it possible to remove the border?
buddhiko1 opened this issue · comments
The border is probably drawn by the window manager, or by a custom GTK theme, if you're using any, but that seems less likely. Either way, Foliate itself doesn't have any such borders. I'm not familiar with Sway but it's probably related to how GTK's fullscreen feature works under Sway. That is, the window manager is supposed to remove the border when the window is fullscreened, but for some reason, doesn't.
Sway's border has been removed. I can't find the cause of the problem either, it could be the configuration of the gtk theme. Anyway, thank you very much for this project, which made me have a good reading experience.
Add this config in $HOME/.config/gtk-4.0/gtk.css can remove the window border.
.background { padding: 0; }