From 769983bd976d88332e4f658ddfc0cb0681f10bcc Mon Sep 17 00:00:00 2001 From: KUN1007 Date: Sun, 27 Oct 2024 04:47:27 +0800 Subject: [PATCH] mod: styles --- assets/css/editor/kun-content.scss | 1 + components/galgame/card/Card.vue | 34 +++++++++++++++++++----------- package.json | 2 +- 3 files changed, 24 insertions(+), 13 deletions(-) diff --git a/assets/css/editor/kun-content.scss b/assets/css/editor/kun-content.scss index 05eed4a2..846df74a 100644 --- a/assets/css/editor/kun-content.scss +++ b/assets/css/editor/kun-content.scss @@ -33,6 +33,7 @@ p { margin: 17px 0; + word-break: break-all; code { font-family: diff --git a/components/galgame/card/Card.vue b/components/galgame/card/Card.vue index e6161dbb..471e6de6 100644 --- a/components/galgame/card/Card.vue +++ b/components/galgame/card/Card.vue @@ -56,16 +56,19 @@ defineProps<{
-

+
{{ getPreferredLanguageText(galgame.name, locale as Language) }} -

+
- {{ galgame.user.name }} - - {{ formatTimeDifference(galgame.time, locale) }} - + +
+ {{ galgame.user.name }} + + {{ formatTimeDifference(galgame.time, locale) }} + +
@@ -189,13 +192,20 @@ defineProps<{ display: flex; align-items: center; - .name { - margin: 0 7px; - } + .info { + display: flex; + flex-direction: column; - .time { - color: var(--kungalgame-font-color-0); - font-size: small; + .name { + margin: 0 7px; + font-size: small; + } + + .time { + color: var(--kungalgame-font-color-0); + font-size: small; + margin: 0 7px; + } } } diff --git a/package.json b/package.json index d42e50b3..a8fa2220 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "kun-galgame-nuxt3", - "version": "2.19.16", + "version": "2.19.17", "packageManager": "pnpm@9.12.1", "private": true, "scripts": {