From 6128711a4e7f0f1a2ea4780b05c8c6b3f53eb056 Mon Sep 17 00:00:00 2001 From: ‘chensiAb’ <‘chenchenco03@163.com’> Date: Sat, 12 Apr 2025 11:18:33 +0800 Subject: [PATCH] style:自定义导航条-宽度调宽 --- layout/navCustomBar/cNavCustomBar.scss | 15 +++++++++++---- 1 files changed, 11 insertions(+), 4 deletions(-) diff --git a/layout/navCustomBar/cNavCustomBar.scss b/layout/navCustomBar/cNavCustomBar.scss index 44b0be6..00795e8 100644 --- a/layout/navCustomBar/cNavCustomBar.scss +++ b/layout/navCustomBar/cNavCustomBar.scss @@ -17,15 +17,22 @@ position: absolute; left: 0px; height: 100%; - display: flex; - justify-content: center; - align-items: center; + width: 120px; .c-nav-menu-icon { - margin-left: 14px; + display: flex; + align-items: center; + width: 100%; + height: 100%; + padding-left: 20px; + box-sizing: border-box; } .c-nav-back-icon { display: flex; align-items: center; + width: 100%; + height: 100%; + padding-left: 20px; + box-sizing: border-box; } } .c-nav-title { -- Gitblit v1.9.1