fix: left menu circle on widget

This commit is contained in:
Jean-Baptiste Pasquier 2020-01-24 19:30:36 +01:00
parent e4d9fae0f3
commit 7277983e08
No known key found for this signature in database
GPG Key ID: F2702E6D22ED4D62
2 changed files with 17 additions and 5 deletions

View File

@ -55,16 +55,24 @@ nav#main__menu.jsLeftMenu
div.menu-icon.icon-folder-alt
sib-route(name='circle', rdf-type='hd:circle', use-id='', hidden)
div.sub-menu.menu-notification
sib-widget(name='menu-circle-fix-url')
template
sib-display(
data-src='${value}'
fields='name, badge'
value-badge='${value}'
widget-badge='hd-counter'
widget-name='sib-display-div'
next='circle'
)
sib-display(
bind-user
nested-field='circles'
fields='circle.name, circle'
fields='circle'
empty-widget='hd-create'
empty-value='circle'
widget-circle.name='sib-display-div'
widget-circle='hd-counter'
widget-circle='menu-circle-fix-url'
order-by='circle.name'
next='circle'
)
div.divider
div.menu-wrapper

View File

@ -157,7 +157,11 @@
}
&.menu-notification {
> sib-display > div > sib-display > div {
> sib-display > div > sib-display > div > menu-circle-fix-url {
flex: 1;
}
> sib-display > div > sib-display > div,
> sib-display > div > sib-display > div > menu-circle-fix-url > sib-display > div {
display: flex;
sib-display-div {
flex: 3;