Please suggest a way to modify the CSS of the Recent Changes dialog, so that the dialog has “resize:both” and “overflow:auto”. This is intended to allow resizing the box when filenames wrap around. Might this have something to do with custom themes? Thanks in advance.
That’s pretty easy, if you already know what CSS classes to adjust.
-
Check
syncthing --paths
output. It should contain some info like:GUI override directory: /home/YOURUSERNAME/.local/state/syncthing/gui
-
Create your custom theme directory:
/home/YOURUSERNAME/.local/state/syncthing/gui/mytheme
-
Place your CSS code in a theme file:
/home/YOURUSERNAME/.local/state/syncthing/gui/mytheme/theme.css
:/* * Recent Changes tweaks */ #globalChanges .modal-content { color: red !important; overflow: auto; resize: both; }
-
Restart Syncthing to pick up the new theme “Mytheme”.
-
Select it from the GUI and save settings.
-
Check your Recent Changes modal, it should have red text and the desired resizing behavior.
-
Start tweaking CSS to make it work better.
Please do report what you’ve come up with. Could be interesting to integrate it in the default theme. So far my simple attempt here doesn’t keep the box centered for example, there’s room for improvement.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.