mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-11 02:15:48 +02:00
enhance: stick sidebar to top
This commit is contained in:
parent
813b94baae
commit
cdafc62009
2 changed files with 6 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "nginx-ui-frontend-next",
|
||||
"private": true,
|
||||
"version": "1.6.5",
|
||||
"version": "1.6.6",
|
||||
"type": "commonjs",
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
|
|
|
@ -102,6 +102,11 @@ const visible = computed(() => {
|
|||
</template>
|
||||
|
||||
<style lang="less">
|
||||
.sidebar {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.ant-layout-sider-collapsed .logo {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue