web: fix close button position in dismissible alert
Created by: valerybugakov
Description
Fixed the alignment of the close button for the one-line dismissible alert. Closes https://github.com/sourcegraph/sourcegraph/issues/21693.
Changes
- Converted
DimissibleAlert
styles into a CSS module. - Fixed close button position for the one-line
DismissibleAlert
. - Added
DismissibleAlert.story.tsx
. - Removed redundant
alert
class name passed toDismissibleAlert
as a prop.
Screenshots
One-line alert:
Multiline alert: