Skip to content

Commit

Permalink
mod: styles
Browse files Browse the repository at this point in the history
  • Loading branch information
KUN1007 committed Oct 26, 2024
1 parent 3f30806 commit 769983b
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 13 deletions.
1 change: 1 addition & 0 deletions assets/css/editor/kun-content.scss
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@

p {
margin: 17px 0;
word-break: break-all;

code {
font-family:
Expand Down
34 changes: 22 additions & 12 deletions components/galgame/card/Card.vue
Original file line number Diff line number Diff line change
Expand Up @@ -56,16 +56,19 @@ defineProps<{
</div>

<div class="card-content">
<h3 class="title">
<div class="title">
{{ getPreferredLanguageText(galgame.name, locale as Language) }}
</h3>
</div>

<div class="publisher">
<KunAvatar :user="galgame.user" size="30px" />
<span class="name">{{ galgame.user.name }}</span>
<span class="time">
{{ formatTimeDifference(galgame.time, locale) }}
</span>

<div class="info">
<span class="name">{{ galgame.user.name }}</span>
<span class="time">
{{ formatTimeDifference(galgame.time, locale) }}
</span>
</div>
</div>
</div>
</NuxtLinkLocale>
Expand Down Expand Up @@ -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;
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "kun-galgame-nuxt3",
"version": "2.19.16",
"version": "2.19.17",
"packageManager": "[email protected]",
"private": true,
"scripts": {
Expand Down

0 comments on commit 769983b

Please sign in to comment.