From 16a04abcf0b99f5c19365951ae9710cf7cc090b8 Mon Sep 17 00:00:00 2001 From: Jun Shindo <46585162+jay-es@users.noreply.github.com> Date: Fri, 4 Oct 2024 13:16:53 +0900 Subject: [PATCH] =?UTF-8?q?=E3=83=88=E3=83=83=E3=83=97=E3=81=AE=E3=83=AA?= =?UTF-8?q?=E3=83=BC=E3=83=89=E3=81=8C=20Safari=20=E3=81=A7=E5=B4=A9?= =?UTF-8?q?=E3=82=8C=E3=81=A6=E3=81=84=E3=82=8B=E3=81=AE=E3=82=92=E4=BF=AE?= =?UTF-8?q?=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/landing/1. hero-section/HeroSection.vue | 9 ++++++--- .vitepress/theme/styles/landing.css | 2 +- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.vitepress/theme/components/landing/1. hero-section/HeroSection.vue b/.vitepress/theme/components/landing/1. hero-section/HeroSection.vue index 26109328..da185dfc 100644 --- a/.vitepress/theme/components/landing/1. hero-section/HeroSection.vue +++ b/.vitepress/theme/components/landing/1. hero-section/HeroSection.vue @@ -15,7 +15,7 @@ import HeroDiagram from './HeroDiagram.vue'

The Build Tool
for the Web

- Vite は、次世代の Web アプリケーションを支える超高速フロントエンドビルドツールです。 + Vite は、次世代の Web アプリケーションを支える
超高速フロントエンドビルドツールです。

@@ -131,7 +131,10 @@ import HeroDiagram from './HeroDiagram.vue' } } -h3 { - white-space: nowrap; /* 日本語版: 改行位置の調整のため */ +/* 日本語版: 改行位置の調整のため */ +@media (max-width: 480px) { + h3 > br { + display: none; + } } diff --git a/.vitepress/theme/styles/landing.css b/.vitepress/theme/styles/landing.css index b535baa0..46cd0550 100644 --- a/.vitepress/theme/styles/landing.css +++ b/.vitepress/theme/styles/landing.css @@ -133,7 +133,7 @@ html:has(.landing) { line-height: 150%; letter-spacing: -0.4px; max-width: 500px; - /* text-wrap: balance; 日本語版: 改行位置の調整のため無効化 */ + text-wrap: balance; cursor: default; margin-bottom: 25px; padding: 0 20px;