Skip to content

Commit 79867f6

Browse files
jonas.darleyhom3mad3
jonas.darley
authored andcommitted
static/alert: add div and classes for meinBerlin
1 parent d00d656 commit 79867f6

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

adhocracy4/static/Alert.jsx

+4-2
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,10 @@ const Alert = ({ type, alertAttribute, message, onClick, timeInMs }) => {
2222
aria-atomic="true"
2323
aria-live={alertAttribute}
2424
>
25-
<div className="container">
26-
{message}
25+
<div className="container a4-alert__container">
26+
<div className="a4-alert__content">
27+
{message}
28+
</div>
2729
<button className="alert__close" title={closeTag} onClick={onClick}>
2830
<i className="fa fa-times" aria-label={closeTag} />
2931
</button>

changelog/8483.md

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
## Changed
2+
3+
- added a new div to `Alert.jsx` with the class name `a4-alert__content` to keep semantic structure consistent with mein berlin
4+
- added a new class called `a4-alert__container` to `Alert.jsx`

0 commit comments

Comments
 (0)