From 46d773f5a73131799e64a0abd16b10468f5bc85b Mon Sep 17 00:00:00 2001 From: ken Date: Mon, 21 Sep 2026 19:31:49 +0800 Subject: [PATCH] up --- assets/stylesheets/template/layout/header.scss | 2 +- assets/stylesheets/template/modules/menu.scss | 4 ++-- assets/stylesheets/template/modules/web_resource.scss | 7 +++++++ home/index.html.erb | 6 +++++- 4 files changed, 15 insertions(+), 4 deletions(-) diff --git a/assets/stylesheets/template/layout/header.scss b/assets/stylesheets/template/layout/header.scss index f71a2d2..bd67588 100644 --- a/assets/stylesheets/template/layout/header.scss +++ b/assets/stylesheets/template/layout/header.scss @@ -16,7 +16,7 @@ sup { .outdropdowns{ width: 100%; z-index: 1; - padding: 0.5em 0; + padding:0; @media(min-width: 769px){ width: 20%; position: absolute; diff --git a/assets/stylesheets/template/modules/menu.scss b/assets/stylesheets/template/modules/menu.scss index 65b4d62..79d8611 100644 --- a/assets/stylesheets/template/modules/menu.scss +++ b/assets/stylesheets/template/modules/menu.scss @@ -26,7 +26,8 @@ @media(min-width: 769px){ float: right!important; width: 80%!important; - // border-left: 1px solid #cccccc23; + background-color: #fff; + padding: 1em; } } .homebanner{ @@ -120,7 +121,6 @@ -ms-transition: all .3s ease; -o-transition: all .3s ease; transition: all .3s ease; - padding: 0.5em 0; z-index: 10; position: fixed; left: 0; diff --git a/assets/stylesheets/template/modules/web_resource.scss b/assets/stylesheets/template/modules/web_resource.scss index 238c0c9..a92bb01 100644 --- a/assets/stylesheets/template/modules/web_resource.scss +++ b/assets/stylesheets/template/modules/web_resource.scss @@ -10,6 +10,13 @@ } } } +.modules-menu{ + @media(min-width:769px){ + .widget-content{ + width: 100%!important; + } + } +} .liWrapper{ position: relative; } diff --git a/home/index.html.erb b/home/index.html.erb index f427e9e..3570229 100644 --- a/home/index.html.erb +++ b/home/index.html.erb @@ -113,7 +113,11 @@
- +
+
+
+
+
<%= render_footer %>