From c3d63475b802549909f3c5436605f0f9e73e3e17 Mon Sep 17 00:00:00 2001 From: Cell <1024@lruihao.cn> Date: Tue, 3 Dec 2024 17:30:10 +0800 Subject: [PATCH] :lipstick: Style: update sub menu overflow to auto scroll --- assets/css/_core/_header.scss | 2 ++ layouts/partials/init/index.html | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/assets/css/_core/_header.scss b/assets/css/_core/_header.scss index a231c86f..7a43ebe3 100644 --- a/assets/css/_core/_header.scss +++ b/assets/css/_core/_header.scss @@ -279,6 +279,8 @@ header { border-radius: $global-border-radius; border: 1px solid $menu-border-color; background-color: $header-background-color; + max-height: 60vh; + overflow-y: auto; @include transition(box-shadow 0.3s ease); @include box-shadow(0 0 1.5rem 0 rgba(0, 0, 0, 0.1)); diff --git a/layouts/partials/init/index.html b/layouts/partials/init/index.html index 87a99102..912c5f22 100644 --- a/layouts/partials/init/index.html +++ b/layouts/partials/init/index.html @@ -1,4 +1,4 @@ -{{- .Scratch.Set "version" "v0.3.16-83d25c36" -}} +{{- .Scratch.Set "version" "v0.3.16-fda3fa66" -}} {{- .Scratch.Set "this" dict -}} {{- partial "init/detection-env.html" . -}}