[Style] Replace px with rem in sidebar width (#2210)

This commit is contained in:
Chenlei Hu
2025-01-09 14:25:34 -05:00
committed by GitHub
parent 906b5e35a3
commit b15e626607

View File

@@ -71,11 +71,11 @@ const getTabTooltipSuffix = (tab: SidebarTabExtension) => {
<style>
:root {
--sidebar-width: 64px;
--sidebar-width: 4rem;
--sidebar-icon-size: 1.5rem;
}
:root .small-sidebar {
--sidebar-width: 40px;
--sidebar-width: 2.5rem;
--sidebar-icon-size: 1rem;
}
</style>