fix: css badge
This commit is contained in:
parent
a4b2e8d593
commit
2ce14a72eb
@ -1,6 +1,6 @@
|
||||
sib-widget(name='hd-counter')
|
||||
template
|
||||
sib-badge(data-src="${id}")
|
||||
sib-badge(data-src="${src}")
|
||||
nav#main__menu
|
||||
sib-router#navbar-router(default-route='members')
|
||||
sib-route.menu(name='members')
|
||||
@ -23,9 +23,11 @@ nav#main__menu
|
||||
div.sub-menu.menu-notification
|
||||
sib-display(
|
||||
data-src=`${endpoints.projects}`
|
||||
data-fields='project'
|
||||
data-fields='project, badge'
|
||||
set-project='customer.name, dash, name'
|
||||
value-dash=' - '
|
||||
widget-badge='hd-counter'
|
||||
action-badge='badge'
|
||||
next='project'
|
||||
)
|
||||
//- div.divider
|
||||
@ -54,9 +56,10 @@ nav#main__menu
|
||||
div.sub-menu.menu-notification
|
||||
sib-display(
|
||||
data-src=`${endpoints.users}`
|
||||
data-fields='username, account.user'
|
||||
data-fields='username, badge'
|
||||
widget-username='sib-display-div'
|
||||
widget-account.user='hd-counter'
|
||||
widget-badge='hd-counter'
|
||||
action-badge='badge'
|
||||
next='messages'
|
||||
)
|
||||
|
||||
|
@ -107,6 +107,7 @@
|
||||
|
||||
div[name='project'] {
|
||||
display: flex;
|
||||
flex: 3;
|
||||
|
||||
sib-display-value {
|
||||
display: block;
|
||||
|
Loading…
Reference in New Issue
Block a user