fix(app): rename class names that content blockers treat as ads (#1621)

This commit is contained in:
Hampus authored and GitHub committed 2026-08-15 13:16:44 +02:00
1 parent 2106102fc5
commit 6ef0f1fbe1
25 files changed
+59 -56

No files matched your search

@@ -68,12 +68,12 @@
gap: 0.25rem;
}
.addRoleButton {
.assignRoleButton {
cursor: pointer;
transition: color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}
.addRoleButtonIcon {
.assignRoleButtonIcon {
display: flex;
height: 1rem;
width: 1rem;
@@ -83,8 +83,8 @@
cursor: pointer;
}
.addRoleButtonIcon:hover,
.addRoleButtonIcon[data-context-menu-open='true'] {
.assignRoleButtonIcon:hover,
.assignRoleButtonIcon[data-context-menu-open='true'] {
color: var(--text-primary);
}
@@ -449,7 +449,7 @@ export const AddRoleButton: React.FC<{
<FocusRing offset={-2} data-flx="guild.role-management.add-role-button.focus-ring">
<button
type="button"
className={clsx(styles.addRoleButton, styles.addRoleButtonIcon)}
className={clsx(styles.assignRoleButton, styles.assignRoleButtonIcon)}
onClick={handleClick}
aria-label={i18n._(ADD_ROLE_DESCRIPTOR)}
data-flx="guild.role-management.add-role-button.add-role-button.click"