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;