File tree Expand file tree Collapse file tree 2 files changed +6
-15
lines changed
template/components/YourAction Expand file tree Collapse file tree 2 files changed +6
-15
lines changed Original file line number Diff line number Diff line change 1- .your-action {
2- margin : var ( --db-spacing-fixed-xl ) 0 var ( --db-spacing-fixed-2xl ) ;
1+ .your-action p {
2+ white-space : pre-line ;
33}
44
5- .your-action ul {
6- margin : 0 ;
7- padding-inline-start : var (--db-spacing-fixed-md );
5+ .your-action {
6+ margin : var (--db-spacing-fixed-xl ) 0 var (--db-spacing-fixed-2xl );
87}
98
10- .your-action li + li {
11- margin-block-start : var (--db-spacing-fixed-xs );
12- }
139
Original file line number Diff line number Diff line change @@ -8,13 +8,8 @@ const YourAction = ({ actions }: { actions: string[] }) => {
88 semantic = "warning"
99 headline = "Your Action"
1010 variant = "standalone"
11- >
12- < ul >
13- { actions . map ( ( action ) => (
14- < li key = { action } > { action } </ li >
15- ) ) }
16- </ ul >
17- </ DBNotification >
11+ text = { actions . join ( '\n\n' ) }
12+ />
1813 ) ;
1914} ;
2015
You can’t perform that action at this time.
0 commit comments