From c4a3d828684e5105b1c09973618bb5f3233b4c89 Mon Sep 17 00:00:00 2001 From: wangjr Date: Thu, 27 Jan 2022 17:44:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=85=AC=E5=91=8A=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/base/head_notice.tmpl | 18 +++++++++++++----- web_src/less/openi.less | 2 +- 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/templates/base/head_notice.tmpl b/templates/base/head_notice.tmpl index 2880b494d..88615cc38 100644 --- a/templates/base/head_notice.tmpl +++ b/templates/base/head_notice.tmpl @@ -3,14 +3,22 @@
+ {{ $firstTag := true }} {{range .notices.Notices}} {{if eq .Visible 1}} - - - {{.Title}} - + {{if $firstTag}} + + + {{.Title}} + + {{else}} + + + {{.Title}} + + {{end}} + {{ $firstTag = false }} {{end}} - {{end}} diff --git a/web_src/less/openi.less b/web_src/less/openi.less index a4a812cce..1d165dda8 100644 --- a/web_src/less/openi.less +++ b/web_src/less/openi.less @@ -605,7 +605,7 @@ display: block; } .a_width{ // width: 50% !important; - margin-right: 20em; + margin-left: 20em; // display:inline-block !important; } .a_width i{