-
{{ getLang(lang) }}
-
+
+
+
+ {{ getLang(lang, true) }}
+
-
+
{{ getLang(item.id) }}
@@ -103,11 +107,6 @@ const getLang = (lang: string) => {
diff --git a/app/.vitepress/src/components/header/HeaderSearch.vue b/app/.vitepress/src/components/header/HeaderSearch.vue
index 646ec3e194e80906c7b7d07c0c8c997c8edbdc22..f9b4264fffa47cea7682a21d22f94909356df67e 100644
--- a/app/.vitepress/src/components/header/HeaderSearch.vue
+++ b/app/.vitepress/src/components/header/HeaderSearch.vue
@@ -401,9 +401,7 @@ const closeSearch = () => {
color: var(--o-color-info1);
padding-top: var(--o-gap-1);
cursor: pointer;
- svg {
- width: var(--o-icon_size-s);
- }
+ font-size: var(--o-icon_size-s);
}
}
}
diff --git a/app/.vitepress/src/components/header/HeaderTheme.vue b/app/.vitepress/src/components/header/HeaderTheme.vue
index 907619b7dfafcca436ecbb4c5a5c871db3b16c01..c2510125fc7eece98a7c5d0d720a42c39b793858 100644
--- a/app/.vitepress/src/components/header/HeaderTheme.vue
+++ b/app/.vitepress/src/components/header/HeaderTheme.vue
@@ -84,10 +84,14 @@ watch(
.theme-box-pc {
display: flex;
align-items: center;
+ height: 100%;
cursor: pointer;
color: var(--o-color-info1);
.icon {
- font-size: 20px;
+ font-size: var(--o-icon_size-m);
+ @include hover {
+ color: var(--o-color-primary1);
+ }
}
@include respond-to('<=pad_v') {
display: none;
diff --git a/app/.vitepress/src/components/markdown/MarkdownTitle.vue b/app/.vitepress/src/components/markdown/MarkdownTitle.vue
index 1e260d1fd4b7a1f3808159359271b0e89f10a0f0..d1af3dc76eb330f833f350511c5b298e48ecd136 100644
--- a/app/.vitepress/src/components/markdown/MarkdownTitle.vue
+++ b/app/.vitepress/src/components/markdown/MarkdownTitle.vue
@@ -69,21 +69,23 @@ const onClickCopyLink = (e: MouseEvent) => {
-
+
-
-
-
-
-
-
-
- Copy link
-
+
+
+
+
+
+
+
+
+ Copy link
+
+
@@ -91,39 +93,50 @@ const onClickCopyLink = (e: MouseEvent) => {
.title-wrap {
position: relative;
display: inline-flex;
- align-items: center;
cursor: pointer;
+ .title {
+ flex: 1;
+ display: inline;
+ overflow-wrap: break-word;
+ word-wrap: break-word;
+ word-break: normal;
+ }
+
span {
display: inline-flex;
}
- .pin, .link {
+ .pin,
+ .copy-link {
@include h2;
}
- .link {
- display: inline-flex;
- align-items: center;
+ .copy-link-wrap {
+ position: relative;
+ width: 1em;
+ height: 1em;
+ margin-left: 6px;
+ clear: both;
- @include hover {
- color: var(--o-color-primary1);
+ @include respond-to('<=laptop') {
+ margin-left: 4px;
}
}
.copy-link {
- margin-left: 6px;
+ position: absolute;
+ top: 2px;
- @include respond-to('<=laptop') {
- margin-left: 4px;
+ @include hover {
+ color: var(--o-color-primary1);
}
}
.pin {
position: absolute;
left: -28px;
- top: 50%;
- transform: translateY(-50%);
+ top: 4px;
padding-right: 4px;
transition: opacity var(--o-duration-l) var(--o-easing-standard-in);
opacity: 0;