From e74aaa2060d12769d3632362047b9d05aeaf9ded Mon Sep 17 00:00:00 2001 From: tenax66 Date: Wed, 13 Nov 2024 00:19:35 +0900 Subject: [PATCH] for smartphone --- assets/css/main.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/assets/css/main.css b/assets/css/main.css index f489f57..3125fb0 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -179,3 +179,9 @@ html[data-bs-theme="dark"] .text-gray-dependent { display: block; /* 行間の隙間を防ぐため */ margin: 0 auto; /* 中央揃えにする場合 */ } + +@media (max-width: 480px) { + .responsive-img { + max-width: 400px; /* 画像の最大幅を設定 */ + } +}