Enable GPU acceleration by default and adjust compact mode CSS for improved layout

This commit is contained in:
mr. M
2025-01-05 20:10:20 +01:00
parent 22a0884203
commit 21dde671de
2 changed files with 7 additions and 2 deletions

View File

@@ -430,3 +430,8 @@ pref("media.cache_resume_threshold", 3600);
pref("media.memory_caches_combined_limit_kb", 2560000);
pref("image.mem.decode_bytes_at_a_time", 32768);
// Enable GPU by default
pref("gfx.canvas.accelerated", true);
pref("media.hardware-video-decoding.enabled", true);
pref("layers.gpu-process.enabled", true);

View File

@@ -60,8 +60,8 @@
:root[zen-single-toolbar='true'] & {
top: var(--zen-element-separation);
& #nav-bar {
margin-left: calc(var(--zen-toolbox-padding) / 2) !important;
&:not([zen-right-side='true']) #nav-bar {
margin-left: 0 !important;
}
}
}