Commit 80123119 authored by Austin Regnery's avatar Austin Regnery Committed by Scott Hampton

Fix protected branches/tags border

Removes classes that were overriding the correct coloring
of the table for protected branches and tags.
parent de0fce61
import { __ } from '~/locale';
import { s__ } from '~/locale';
import { deprecatedCreateFlash as flash } from '../flash';
import axios from '../lib/utils/axios_utils';
import ProtectedTagAccessDropdown from './protected_tag_access_dropdown';
......@@ -48,11 +48,8 @@ export default class ProtectedTagEdit {
.catch(() => {
this.$allowedToCreateDropdownButton.enable();
flash(
__('Failed to update tag!'),
'alert',
document.querySelector('.js-protected-tags-list'),
);
window.scrollTo({ top: 0, behavior: 'smooth' });
flash(s__('ProjectSettings|Failed to update tag!'));
});
}
}
......@@ -69,9 +69,6 @@ table {
}
}
td {
border-color: $white-normal;
}
}
.thead-white {
......
......@@ -23,7 +23,6 @@
%th
%tbody
%tr
%td.flash-container{ colspan: 4 }
= yield
= paginate @protected_tags, theme: 'gitlab'
---
title: Fix protected branches/tags border
merge_request: 52816
author:
type: changed
......@@ -12297,9 +12297,6 @@ msgstr ""
msgid "Failed to update issues, please try again."
msgstr ""
msgid "Failed to update tag!"
msgstr ""
msgid "Failed to update the Canary Ingress."
msgstr ""
......
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