Skip to content

Commit e8738e4

Browse files
committed
gssoc/fixed mis-alignment of icons on sidebar closing
1 parent 8099ec2 commit e8738e4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/pages/dashboard/dashboard.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
/* Sidebar Styles */
1010
.dashboard-sidebar {
11-
width: 200px;
11+
width: 210px;
1212
background: var(--ifm-card-background-color);
1313
border-right: 1px solid var(--ifm-toc-border-color);
1414
padding: 1.5rem 0;
@@ -100,6 +100,7 @@
100100
margin-left: 1rem;
101101
flex-shrink: 0;
102102
transition: background-color 0.2s ease;
103+
margin-bottom: 20px;
103104
}
104105

105106
.sidebar-toggle:hover {
@@ -132,8 +133,8 @@
132133

133134
.dashboard-sidebar.collapsed .sidebar-toggle {
134135
position: absolute;
135-
right: 5px;
136-
top: 10px;
136+
margin-right: 20px;
137+
top: -1px;
137138
}
138139

139140
.dashboard-sidebar.collapsed .sidebar-toggle.bottom-toggle {
@@ -143,7 +144,6 @@
143144

144145
.dashboard-sidebar.collapsed .nav-item {
145146
padding: 0.75rem 1rem;
146-
justify-content: center;
147147
}
148148

149149
.dashboard-sidebar.collapsed .nav-icon {

0 commit comments

Comments
 (0)