Skip to content

Commit

Permalink
🎨
Browse files Browse the repository at this point in the history
  • Loading branch information
noridev committed Jan 2, 2025
1 parent 6052732 commit 82cbe18
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions packages/frontend-embed/src/components/EmNoteHeader.vue
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ defineProps<{
.badgeRole {
height: 1.3em;
vertical-align: -20%;
border-radius: 0.4em;

& + .badgeRole {
margin-left: 0.2em;
Expand Down
2 changes: 2 additions & 0 deletions packages/frontend/src/components/MkNoteDetailed.vue
Original file line number Diff line number Diff line change
Expand Up @@ -994,6 +994,7 @@ function showOnRemote() {
.noteHeaderBadgeRole {
height: 1.3em;
vertical-align: -20%;
border-radius: 0.4em;

& + .noteHeaderBadgeRole {
margin-left: 0.2em;
Expand Down Expand Up @@ -1231,6 +1232,7 @@ function showOnRemote() {
.badgeRole {
height: 1.3em;
vertical-align: -20%;
border-radius: 0.4em;

& + .badgeRole {
margin-left: 0.2em;
Expand Down
1 change: 1 addition & 0 deletions packages/frontend/src/components/MkNoteHeader.vue
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ function showOnRemote() {
.badgeRole {
height: 1.3em;
vertical-align: -20%;
border-radius: 0.4em;

& + .badgeRole {
margin-left: 0.2em;
Expand Down
2 changes: 1 addition & 1 deletion packages/frontend/src/components/MkNotification.vue
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<i v-else-if="notification.type === 'exportCompleted'" class="ti ti-archive"></i>
<i v-else-if="notification.type === 'login'" class="ti ti-login-2"></i>
<template v-else-if="notification.type === 'roleAssigned'">
<img v-if="notification.role.iconUrl" style="height: 1.3em; vertical-align: -22%;" :src="notification.role.iconUrl" alt=""/>
<img v-if="notification.role.iconUrl" style="height: 1.3em; vertical-align: -22%; border-radius: 0.4em;" :src="notification.role.iconUrl" alt=""/>
<i v-else class="ti ti-badges"></i>
</template>
<MkReactionIcon
Expand Down
1 change: 1 addition & 0 deletions packages/frontend/src/components/MkRolePreview.vue
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ const props = withDefaults(defineProps<{
.bodyBadge {
height: 1.3em;
vertical-align: -20%;
border-radius: 0.4em;
}

.bodyName {
Expand Down
2 changes: 1 addition & 1 deletion packages/frontend/src/pages/user/home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<div v-if="user.roles.length > 0" class="roles">
<span v-for="role in user.roles" :key="role.id" v-tooltip="role.description" class="role" :style="{ '--color': role.color }">
<MkA v-adaptive-bg :to="`/roles/${role.id}`">
<img v-if="role.iconUrl" style="height: 1.3em; vertical-align: -22%;" :src="role.iconUrl"/>
<img v-if="role.iconUrl" style="height: 1.3em; vertical-align: -22%; border-radius: 0.4em;" :src="role.iconUrl"/>
{{ role.name }}
</MkA>
</span>
Expand Down

0 comments on commit 82cbe18

Please sign in to comment.