Skip to content

refactor(GlAlert): isolate limited width styles

Paul Gascou-Vaillancourt requested to merge refactor-alert-styles into main

What does this MR do?

This moves alerts' max-width CSS rules to a dedicated selector. While this doesn't change anything as to how the component looks, it will give us more flexibility when dealing with HAML alerts in GitLab: we can combine gl-alert-max-content styles with some of GitLab's own styles to align alerts content width with Gitlab's primary content width.

Edited by Paul Gascou-Vaillancourt

Merge request reports