Skip to content

Commit

Permalink
[Style] Replace px with rem in sidebar width (#2210)
Browse files Browse the repository at this point in the history
  • Loading branch information
huchenlei authored Jan 9, 2025
1 parent 906b5e3 commit b15e626
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 b15e626

Please sign in to comment.