From 43b642aeb99e2afbac500290e20c69286fc31215 Mon Sep 17 00:00:00 2001 From: rulingcom Date: Tue, 25 Jul 2023 20:09:14 +0800 Subject: [PATCH] Fix bug. --- assets/stylesheets/template/layout/content.scss | 6 +++++- home/header.html.erb | 1 + home/index.html.erb | 1 - 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/assets/stylesheets/template/layout/content.scss b/assets/stylesheets/template/layout/content.scss index fcdab5c..28c7aa1 100644 --- a/assets/stylesheets/template/layout/content.scss +++ b/assets/stylesheets/template/layout/content.scss @@ -18,11 +18,15 @@ body{ } } } +[data-module="home"] .downIcon { + display: block; +} .downIcon { - display: block!important; + display: none; position: absolute; left: 50%; bottom: 10%; + bottom: calc(10% + 46px); z-index: 2; color: #fff; diff --git a/home/header.html.erb b/home/header.html.erb index f3578c7..6b00aff 100644 --- a/home/header.html.erb +++ b/home/header.html.erb @@ -47,4 +47,5 @@
+
移動到第一個區塊
diff --git a/home/index.html.erb b/home/index.html.erb index 9cf7370..9813c47 100644 --- a/home/index.html.erb +++ b/home/index.html.erb @@ -8,7 +8,6 @@ <%= render_orbit_bar %> <%= render_header %> -
移動到第一個區塊