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 }) {
|
||||
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}
|
||||
</div>
|
||||
)
|
||||
|
@ -58,4 +58,11 @@
|
||||
background: var(--theme-clickToContextColor) !important;
|
||||
vertical-align: middle;
|
||||
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