Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Orbit
Manage
Activity
Members
Labels
Plan
Issues
97
Issue boards
Milestones
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Applications
Orbit
Commits
7277983e
Verified
Commit
7277983e
authored
5 years ago
by
Jean-Baptiste Pasquier
Browse files
Options
Downloads
Patches
Plain Diff
fix: left menu circle on widget
parent
e4d9fae0
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!108
Circle perf fix
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/menu-left.pug
+12
-4
12 additions, 4 deletions
src/menu-left.pug
src/styles/base/menu-left.scss
+5
-1
5 additions, 1 deletion
src/styles/base/menu-left.scss
with
17 additions
and
5 deletions
src/menu-left.pug
+
12
−
4
View file @
7277983e
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
src/styles/base/menu-left.scss
+
5
−
1
View file @
7277983e
...
...
@@ -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
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment