diff --git a/app/assets/stylesheets/pages/pipelines.scss b/app/assets/stylesheets/pages/pipelines.scss index cd9382e8de5..3d88e273a9e 100644 --- a/app/assets/stylesheets/pages/pipelines.scss +++ b/app/assets/stylesheets/pages/pipelines.scss @@ -929,7 +929,8 @@ border-color: transparent; border-style: solid; top: -6px; - left: 2px; + left: 50%; + transform: translate(-50%, 0); border-width: 0 5px 6px; } @@ -944,6 +945,14 @@ } } +/** + * Center dropdown menu in mini graph + */ +.mini-pipeline-graph-dropdown-menu.dropdown-menu { + right: auto; + left: 50%; + transform: translate(-50%, 0); +} /** * Terminal */ diff --git a/changelogs/unreleased/27586-center-dropdown.yml b/changelogs/unreleased/27586-center-dropdown.yml new file mode 100644 index 00000000000..4935f7504f7 --- /dev/null +++ b/changelogs/unreleased/27586-center-dropdown.yml @@ -0,0 +1,4 @@ +--- +title: Center dropdown for mini graph +merge_request: +author: