0
0
Fork 0

Add badge on account card in report moderation interface when account is already suspended (#29592)

This commit is contained in:
Claire 2024-03-19 09:20:53 +01:00 committed by GitHub
parent 39839baec3
commit cf08a438e7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 22 additions and 0 deletions

View file

@ -1380,6 +1380,19 @@ a.sparkline {
.account-card {
border-radius: 4px;
border: 1px solid lighten($ui-base-color, 8%);
position: relative;
&__warning-badge {
position: absolute;
padding: 4px 10px;
top: 10px;
inset-inline-start: 10px;
border-radius: 4px;
background:
url('../images/warning-stripes.svg') repeat-y left,
url('../images/warning-stripes.svg') repeat-y right,
var(--background-color);
}
&__permalink {
color: inherit;