fix: 💄 Announcement padding/margins
This commit is contained in:
parent
d38f6b6649
commit
45c5fa73ff
2 changed files with 14 additions and 8 deletions
|
@ -8,9 +8,11 @@
|
|||
<div :class="$style.time">
|
||||
<MkTime :time="announcement.createdAt" />
|
||||
<div v-if="announcement.updatedAt">
|
||||
<small>
|
||||
{{ i18n.ts.updatedAt }}:
|
||||
<MkTime :time="announcement.createdAt" />
|
||||
</div>
|
||||
</small>
|
||||
</span>
|
||||
</div>
|
||||
<Mfm :text="text" />
|
||||
<img
|
||||
|
@ -80,6 +82,6 @@ const gotIt = () => {
|
|||
}
|
||||
|
||||
.gotIt {
|
||||
margin: 8px 0 0 0;
|
||||
margin: 1rem 0 1rem 2rem;
|
||||
}
|
||||
</style>
|
||||
|
|
|
@ -16,8 +16,12 @@
|
|||
class="announcement _panel"
|
||||
>
|
||||
<div class="_title">
|
||||
<span v-if="$i && !announcement.isRead">🆕 </span>
|
||||
<h3>{{ announcement.title }}</h3>
|
||||
<h3>
|
||||
<span v-if="$i && !announcement.isRead">
|
||||
🆕
|
||||
</span>
|
||||
{{ announcement.title }}
|
||||
</h3>
|
||||
<MkTime :time="announcement.createdAt" />
|
||||
<div v-if="announcement.updatedAt">
|
||||
{{ i18n.ts.updatedAt }}:
|
||||
|
@ -85,7 +89,7 @@ definePageMetadata({
|
|||
}
|
||||
|
||||
> ._title {
|
||||
padding: 14px 32px !important;
|
||||
padding: 0.5rem 2rem !important;
|
||||
}
|
||||
|
||||
> ._seperator {
|
||||
|
@ -93,7 +97,7 @@ definePageMetadata({
|
|||
}
|
||||
|
||||
> ._content {
|
||||
padding: 2rem;
|
||||
padding: 0 2rem !important;
|
||||
|
||||
> img {
|
||||
display: block;
|
||||
|
|
Loading…
Reference in a new issue