From e9195ef31e9c2353c35965bd6ea5ef3aebbda142 Mon Sep 17 00:00:00 2001 From: caoyanyi Date: Wed, 3 Jan 2024 16:04:49 +0800 Subject: [PATCH] * Adjust repo diff page style. --- module/repo/ui/diffeditor.html.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module/repo/ui/diffeditor.html.php b/module/repo/ui/diffeditor.html.php index 1666142c94..ead2c5979b 100644 --- a/module/repo/ui/diffeditor.html.php +++ b/module/repo/ui/diffeditor.html.php @@ -59,7 +59,7 @@ div( ), div(set::id('tab-' . $currentEntry)), ), - dropdown + $dropMenus ? $dropdown ( set::arrow(false), set::staticMenu(true), @@ -74,7 +74,7 @@ div( ( $dropMenus ), - ), + ) : null, div(set::className('absolute top-0 left-0 z-20 arrow-left btn-left'), icon('chevron-left')), div(set::className('absolute top-0 right-0 z-20 arrow-right btn-right'), icon('chevron-right')), )