Skip to content

Commit

Permalink
fix: Adjust styling of team resource images
Browse files Browse the repository at this point in the history
Signed-off-by: Julius Härtl <[email protected]>
  • Loading branch information
juliusknorr committed Mar 7, 2024
1 parent 199a875 commit 8b65d58
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/components/CircleDetails.vue
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@
{{ resource.iconEmoji }}
</span>
<span v-else-if="resource.iconSvg" class="resource__icon" v-html="resource.iconSvg" />

Check warning on line 138 in src/components/CircleDetails.vue

View workflow job for this annotation

GitHub Actions / eslint

'v-html' directive can lead to XSS attack
<span v-if="resource.iconUrl" class="resource__icon">
<span v-else-if="resource.iconURL" class="resource__icon">
<img :src="resource.iconURL" alt="">
</span>
</template>
Expand Down Expand Up @@ -463,6 +463,12 @@ export default {
width: 20px;
height: 20px;
}
img {
border-radius: var(--border-radius-pill);
overflow: hidden;
width: 32px;
height: 32px;
}
}

&:deep(.line-one__name) {
Expand Down

0 comments on commit 8b65d58

Please sign in to comment.