From f2b37f27767fbec104a83210cd0346ebea35626e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B1=E5=8D=9A=E4=BA=9E?= Date: Mon, 5 Oct 2020 22:41:42 +0800 Subject: [PATCH] change rwd font for fronted page --- app/assets/stylesheets/space-frontend.scss | 4 ++++ app/assets/stylesheets/spaces.scss | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/app/assets/stylesheets/space-frontend.scss b/app/assets/stylesheets/space-frontend.scss index a4144eb..6769fd7 100644 --- a/app/assets/stylesheets/space-frontend.scss +++ b/app/assets/stylesheets/space-frontend.scss @@ -35,6 +35,10 @@ width: 650%; padding: 0.2em; font-size: 0.6em; + @media (min-width: $screen-sm) { + width: 450%; + font-size: 0.3em; + } } #full-layout-canvas { text-align: center; diff --git a/app/assets/stylesheets/spaces.scss b/app/assets/stylesheets/spaces.scss index 0528fc6..c226c4d 100644 --- a/app/assets/stylesheets/spaces.scss +++ b/app/assets/stylesheets/spaces.scss @@ -391,6 +391,10 @@ width: 650%; padding: 0.2em; font-size: 0.6em; + @media (min-width: $screen-sm) { + width: 450%; + font-size: 0.3em; + } } // Page specific styles