Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
3dfd8fd5
Commit
3dfd8fd5
authored
Aug 25, 2020
by
Andrei Stoicescu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Wrap dashboards dropdown items text
- add wrapping styles
parent
90b81bf9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
7 deletions
+12
-7
app/assets/javascripts/monitoring/components/dashboards_dropdown.vue
...javascripts/monitoring/components/dashboards_dropdown.vue
+7
-7
changelogs/unreleased/astoicescu-truncate-dashboards-dropdown-items.yml
...eleased/astoicescu-truncate-dashboards-dropdown-items.yml
+5
-0
No files found.
app/assets/javascripts/monitoring/components/dashboards_dropdown.vue
View file @
3dfd8fd5
...
...
@@ -95,12 +95,10 @@ export default {
@
click=
"selectDashboard(dashboard)"
>
<div
class=
"gl-display-flex"
>
<div
class=
"gl-flex-grow-1 gl-min-w-0"
>
<div
class=
"gl-word-break-all"
>
{{
dashboardDisplayName
(
dashboard
)
}}
</div>
</div>
<gl-icon
class=
"text-muted gl-flex-shrink-0"
name=
"star"
/>
<span
class=
"gl-flex-grow-1 gl-min-w-0 gl-overflow-hidden gl-overflow-wrap-break"
>
{{
dashboardDisplayName
(
dashboard
)
}}
</span>
<gl-icon
class=
"text-muted gl-flex-shrink-0 gl-ml-3 gl-align-self-center"
name=
"star"
/>
</div>
</gl-new-dropdown-item>
<gl-new-dropdown-divider
...
...
@@ -115,7 +113,9 @@ export default {
:is-checked=
"dashboard.path === selectedDashboardPath"
@
click=
"selectDashboard(dashboard)"
>
{{
dashboardDisplayName
(
dashboard
)
}}
<span
class=
"gl-overflow-hidden gl-overflow-wrap-break"
>
{{
dashboardDisplayName
(
dashboard
)
}}
</span>
</gl-new-dropdown-item>
</div>
...
...
changelogs/unreleased/astoicescu-truncate-dashboards-dropdown-items.yml
0 → 100644
View file @
3dfd8fd5
---
title
:
Wrap dashboards dropdown items text
merge_request
:
40367
author
:
type
:
added
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment