improve notification header styling
This commit is contained in:
parent
cb6b85345c
commit
bc2cb29c41
@ -96,7 +96,7 @@ function NotificationLayout ({ children, type, nid, href, as, fresh }) {
|
|||||||
|
|
||||||
function NoteHeader ({ color, children, big }) {
|
function NoteHeader ({ color, children, big }) {
|
||||||
return (
|
return (
|
||||||
<div className={`fw-bold text-${color} ${big ? '' : 'small'} d-inline-block align-items-center pb-2`} style={{ lineHeight: '1.25' }}>
|
<div className={`${styles.noteHeader} text-${color} ${big ? '' : 'small'} pb-2`}>
|
||||||
{children}
|
{children}
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
|
@ -59,3 +59,10 @@
|
|||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
margin-left: 0.5rem;
|
margin-left: 0.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.noteHeader {
|
||||||
|
display: inline-block;
|
||||||
|
font-weight: 800;
|
||||||
|
line-height: 1.25;
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user