Skip to content

Commit cdafc62

Browse files
committed
enhance: stick sidebar to top
1 parent 813b94b commit cdafc62

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

frontend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "nginx-ui-frontend-next",
33
"private": true,
4-
"version": "1.6.5",
4+
"version": "1.6.6",
55
"type": "commonjs",
66
"scripts": {
77
"dev": "vite",

frontend/src/layouts/SideBar.vue

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,11 @@ const visible = computed(() => {
102102
</template>
103103

104104
<style lang="less">
105+
.sidebar {
106+
position: sticky;
107+
top: 0;
108+
}
109+
105110
.ant-layout-sider-collapsed .logo {
106111
overflow: hidden;
107112
}

0 commit comments

Comments
 (0)