Skip to content

Commit 42fb042

Browse files
committed
fix: sidenav style optimization
1 parent 4bfcabd commit 42fb042

File tree

4 files changed

+4
-22
lines changed

4 files changed

+4
-22
lines changed

ui/src/common/color.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,8 @@
101101
background-color: RGBA(255, 255, 255, var(--bs-bg-opacity, 1)) !important;
102102
}
103103
/** side nav **/
104-
#sideNav {
104+
#sideNav,
105+
#answerAccordion {
105106
.nav-link:hover,
106107
.nav-link.active {
107108
background-color: #2b3035 !important;

ui/src/components/AdminSideNav/index.scss

Lines changed: 0 additions & 17 deletions
This file was deleted.

ui/src/components/AdminSideNav/index.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ import { ADMIN_NAV_MENUS } from '@/common/constants';
99
import { useQueryPlugins } from '@/services';
1010
import { interfaceStore } from '@/stores';
1111

12-
import './index.scss';
13-
1412
const AdminSideNav = () => {
1513
const { t } = useTranslation('translation', { keyPrefix: 'btns' });
1614
const interfaceLang = interfaceStore((_) => _.interface.language);

ui/src/components/SideNav/index.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@
1919

2020
#pcSideNav {
2121
width: 240px;
22-
top: 62px;
22+
top: 64px;
2323
box-sizing: border-box;
24-
height: calc(100vh - 62px);
24+
height: calc(100vh - 64px);
2525
overflow-y: auto;
2626
flex: none;
2727
}

0 commit comments

Comments
 (0)