From 98d36d10798691fd1758137a80e23724817fc8a7 Mon Sep 17 00:00:00 2001 From: MoonLeeeaf <150461955+MoonLeeeaf@users.noreply.github.com> Date: Tue, 25 Jun 2024 22:23:47 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20MDUI=20css=20=E5=AF=BC=E8=87=B4=E7=9A=84?= =?UTF-8?q?=E5=8F=B3=E9=94=AE=E8=8F=9C=E5=8D=95=E7=9A=84=E4=B8=80=E7=B3=BB?= =?UTF-8?q?=E5=88=97=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1. 彻底移除了导致右键菜单无法显示的 overflow-x: auto; 以及 overflow-y: hidden; 2. 使用 .mdui-tab > a 来代替 .mdui-tab a 防止误匹配导致右键菜单文本样式有误 --- ling_chair_http/static/mdui.css | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/ling_chair_http/static/mdui.css b/ling_chair_http/static/mdui.css index 197839c..3753527 100644 --- a/ling_chair_http/static/mdui.css +++ b/ling_chair_http/static/mdui.css @@ -11013,12 +11013,11 @@ select.mdui-select[multiple] option:last-child { max-height: 72px; margin: 0 auto; padding: 0; - overflow-x: auto; - overflow-y: hidden; white-space: nowrap; -webkit-overflow-scrolling: touch; } -.mdui-tab a { +/* Mod: 防止匹配到更次的a */ +.mdui-tab > a { display: -webkit-box; display: -ms-flexbox; display: flex;