Commit 407725a6 authored by Martin Wortschack's avatar Martin Wortschack

Merge branch '233683-replace-bootstrap-alerts' into 'master'

Replace bootstrap alerts with utility classes

Closes #233683

See merge request gitlab-org/gitlab!41974
parents aa3ea161 04d85c1a
...@@ -2,8 +2,10 @@ ...@@ -2,8 +2,10 @@
- default_ref = params[:ref] || @project.default_branch - default_ref = params[:ref] || @project.default_branch
- if @error - if @error
.alert.alert-danger .gl-alert.gl-alert-danger
%button.close{ type: "button", "data-dismiss" => "alert" } × = sprite_icon('error', css_class: 'gl-icon gl-alert-icon gl-alert-icon-no-title')
%button.js-close.gl-alert-dismiss{ type: 'button', 'aria-label' => _('Dismiss') }
= sprite_icon('close', css_class: 'gl-icon')
= @error = @error
%h3.page-title %h3.page-title
......
---
title: Use GitLab utility classes for the alert component instead of Bootstrap
merge_request: 41974
author:
type: changed
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