Skip to content

Commit

Permalink
Replace px with rem in sidebar width
Browse files Browse the repository at this point in the history
  • Loading branch information
huchenlei committed Jan 9, 2025
1 parent e8cd9c7 commit 89842fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/sidebar/SideToolbar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 89842fb

Please sign in to comment.