Commit 92a40178 authored by Paul Slaughter's avatar Paul Slaughter

Merge branch...

Merge branch '229284-migrate-bootstrap-button-to-gitlab-ui-glbutton-in-app-assets-javascripts-ide-components' into 'master'

Migrate ide edit dropdown button

Closes #229284

See merge request gitlab-org/gitlab!43403
parents 35e12dce f3ff6cac
<script>
import { GlButton } from '@gitlab/ui';
import { __, sprintf } from '~/locale';
import { viewerTypes } from '../constants';
export default {
components: {
GlButton,
},
props: {
viewer: {
type: String,
......@@ -31,7 +35,7 @@ export default {
<template>
<div class="dropdown">
<button type="button" class="btn btn-link" data-toggle="dropdown">{{ __('Edit') }}</button>
<gl-button variant="link" data-toggle="dropdown">{{ __('Edit') }}</gl-button>
<div class="dropdown-menu dropdown-menu-selectable dropdown-open-left">
<ul>
<li>
......
......@@ -6,9 +6,10 @@
$bs-input-focus-box-shadow: rgba(0, 123, 255, 0.25);
a:not(.btn),
.btn-link:hover,
.btn-link:focus,
.btn-link:active {
.gl-button.btn-link,
.gl-button.btn-link:hover,
.gl-button.btn-link:focus,
.gl-button.btn-link:active {
color: var(--ide-link-color, $blue-600);
}
......
---
title: Update IDE compare changes view button to link style
merge_request: 43403
author:
type: other
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment