Skip to content

Commit

Permalink
Merge pull request misskey-dev#5 from tai-cha/feat/focalolus/role-ann…
Browse files Browse the repository at this point in the history
…oncement

ロール別お知らせのスタイル微調整
  • Loading branch information
umipu committed Jul 22, 2024
2 parents 347fb94 + 12467aa commit 162e148
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion packages/frontend/src/pages/admin/announcements.vue
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<option value="dialog">{{ i18n.ts.dialog }}</option>
</MkRadios>
<div class="_gaps_s">
<div class="label">{{ i18n.ts.roles }}</div>
<div class="label" :class="$style.rolesLabel">{{ i18n.ts.roles }}</div>
<div v-for="role in announcement.roles" :key="`announcement-role-${role.id}`" class="_gaps_s">
<div :class="$style.roleItems">
<MkRolePreview :role="role" :noLink="true" :forModeration="false" :class="$style.rolePreview"/>
Expand Down Expand Up @@ -203,6 +203,16 @@ definePageMetadata(() => ({
flex-grow: 1;
}
.rolesLabel {
font-size: 0.85em;
padding: 0 0 8px 0;
user-select: none;
&:empty {
display: none;
}
}
.remove {
width: 32px;
height: 32px;
Expand Down

0 comments on commit 162e148

Please sign in to comment.