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
8bf266b5
Commit
8bf266b5
authored
Aug 14, 2020
by
Andrei Stoicescu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix panel "more actions" button layout
- fix width - fix horizontal alignment of icon
parent
9781a96a
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
3 deletions
+19
-3
app/assets/javascripts/monitoring/components/dashboard_actions_menu.vue
...ascripts/monitoring/components/dashboard_actions_menu.vue
+5
-0
app/assets/javascripts/monitoring/components/dashboard_panel.vue
...ets/javascripts/monitoring/components/dashboard_panel.vue
+9
-3
changelogs/unreleased/astoicescu-fix_panel_more_actions_button.yml
...s/unreleased/astoicescu-fix_panel_more_actions_button.yml
+5
-0
No files found.
app/assets/javascripts/monitoring/components/dashboard_actions_menu.vue
View file @
8bf266b5
...
@@ -138,6 +138,11 @@ export default {
...
@@ -138,6 +138,11 @@ export default {
</
script
>
</
script
>
<
template
>
<
template
>
<!--
This component should be replaced with a variant developed
as part of https://gitlab.com/gitlab-org/gitlab-ui/-/issues/936
The variant will create a dropdown with an icon, no text and no caret
-->
<gl-new-dropdown
<gl-new-dropdown
v-gl-tooltip
v-gl-tooltip
data-testid=
"actions-menu"
data-testid=
"actions-menu"
...
...
app/assets/javascripts/monitoring/components/dashboard_panel.vue
View file @
8bf266b5
...
@@ -394,15 +394,21 @@ export default {
...
@@ -394,15 +394,21 @@ export default {
data-qa-selector=
"prometheus_graph_widgets"
data-qa-selector=
"prometheus_graph_widgets"
>
>
<div
data-testid=
"dropdown-wrapper"
class=
"d-flex align-items-center"
>
<div
data-testid=
"dropdown-wrapper"
class=
"d-flex align-items-center"
>
<!--
This component should be replaced with a variant developed
as part of https://gitlab.com/gitlab-org/gitlab-ui/-/issues/936
The variant will create a dropdown with an icon, no text and no caret
-->
<gl-dropdown
<gl-dropdown
v-gl-tooltip
v-gl-tooltip
toggle-class=
"shadow-none border-0"
toggle-class=
"gl-px-3!"
no-caret
data-qa-selector=
"prometheus_widgets_dropdown"
data-qa-selector=
"prometheus_widgets_dropdown"
right
right
:title=
"__('More actions')"
:title=
"__('More actions')"
>
>
<template
slot=
"button-content"
>
<template
#button-content
>
<gl-icon
name=
"ellipsis_v"
class=
"dropdown-icon text-secondary
"
/>
<gl-icon
class=
"gl-mr-0!"
name=
"ellipsis_v
"
/>
</
template
>
</
template
>
<gl-dropdown-item
<gl-dropdown-item
v-if=
"expandBtnAvailable"
v-if=
"expandBtnAvailable"
...
...
changelogs/unreleased/astoicescu-fix_panel_more_actions_button.yml
0 → 100644
View file @
8bf266b5
---
title
:
Fix panel "more actions" button layout
merge_request
:
39534
author
:
type
:
fixed
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