You've already forked AstralRinth
forked from didirus/AstralRinth
Add .member hover style + NavRow & parse fixes
This commit is contained in:
@@ -46,7 +46,7 @@
|
|||||||
const indicator = {
|
const indicator = {
|
||||||
left: 0,
|
left: 0,
|
||||||
right: 0,
|
right: 0,
|
||||||
top: 0,
|
top: 22,
|
||||||
direction: 'right',
|
direction: 'right',
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -2,9 +2,18 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
gap: 1rem;
|
gap: 1rem;
|
||||||
|
|
||||||
|
border-radius: var(--rounded-sm);
|
||||||
|
padding: 0.5rem;
|
||||||
|
transition: background-color 0.1s ease-in-out;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
background-color: var(--color-button-bg);
|
||||||
|
}
|
||||||
|
|
||||||
&__info {
|
&__info {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
margin-right: 0.5rem;
|
||||||
|
|
||||||
&__link {
|
&__link {
|
||||||
font-weight: var(--font-weight-medium);
|
font-weight: var(--font-weight-medium);
|
||||||
|
|||||||
@@ -50,6 +50,7 @@ function sanitize(html: string): string {
|
|||||||
span: ['class'],
|
span: ['class'],
|
||||||
input: ['type', 'checked', 'disabled'],
|
input: ['type', 'checked', 'disabled'],
|
||||||
font: ['color'],
|
font: ['color'],
|
||||||
|
details: ['open'],
|
||||||
},
|
},
|
||||||
allowedClasses: {},
|
allowedClasses: {},
|
||||||
allowedSchemes: ['http', 'https', 'mailto'],
|
allowedSchemes: ['http', 'https', 'mailto'],
|
||||||
|
|||||||
Reference in New Issue
Block a user