From 532a9a28df09fe3d87b056ac07c0b9e8a49f3896 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=82=A2=E3=83=AC=E3=82=AF=E3=82=B5=E3=83=B3=E3=83=80?= =?UTF-8?q?=E3=83=BC=2Eeth?= Date: Wed, 19 Jun 2024 08:35:35 +0900 Subject: [PATCH] fix: style mobile text width --- static/code/css/ubq.css | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/static/code/css/ubq.css b/static/code/css/ubq.css index 30f6c1f..cf13068 100644 --- a/static/code/css/ubq.css +++ b/static/code/css/ubq.css @@ -505,6 +505,7 @@ h3 { box-sizing: inherit; margin-top: 23px; line-height: 1.25; + max-width: calc(100vw - 16px); } p { color: #bfbfbf; @@ -519,6 +520,8 @@ p { font-size: 20px; line-height: 31px; margin-top: 17px; + max-width: calc(100vw - 16px); + margin: 17px 8px 0; } #Overview > article > div > div:nth-child(odd) { padding: 5% 0 5% 10%; @@ -925,7 +928,7 @@ body.social main#Spreads { /* vertical-align: middle; */ text-align: center; /* display: inline-block; */ - padding: 32px; + /* padding: 32px; */ } #Intro { background-image: url("../../image/grid-25.png");