Skip to content

Commit cfd7089

Browse files
authored
Merge pull request #30 from teams-notifier/feat/full-width-card
feat: switch card to full width
2 parents cab7bd6 + b721b27 commit cfd7089

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

cards/merge_request.yaml.j2

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
$schema: https://adaptivecards.io/schemas/adaptive-card.json
22
type: AdaptiveCard
33
version: '1.5'
4+
msteams:
5+
width: Full
46
fallbackText: {{ fallback }}
57
speak: {{ fallback }}
68
body:
@@ -79,8 +81,8 @@ body:
7981
- type: Table
8082
showGridLines: false
8183
columns:
82-
- width: 3
83-
- width: 7
84+
- width: 130px
85+
- width: 1
8486
firstRowAsHeaders: false
8587
rows:
8688
- type: TableRow
@@ -167,7 +169,7 @@ body:
167169
verticalContentAlignment: Center
168170
items:
169171
- type: TextBlock
170-
text: '{{ precalc.assignees | join(",") }}'
172+
text: '{{ precalc.assignees | join(", ") }}'
171173
#size: Small
172174
wrap: true
173175
{% endif %}
@@ -186,7 +188,7 @@ body:
186188
verticalContentAlignment: Center
187189
items:
188190
- type: TextBlock
189-
text: '{{ precalc.reviewers | join(",") }}'
191+
text: '{{ precalc.reviewers | join(", ") }}'
190192
#size: Small
191193
wrap: true
192194
{% endif %}
@@ -205,7 +207,7 @@ body:
205207
verticalContentAlignment: Center
206208
items:
207209
- type: TextBlock
208-
text: '{{ precalc.approvers | join(",") }}'
210+
text: '{{ precalc.approvers | join(", ") }}'
209211
#size: Small
210212
wrap: true
211213
{% endif %}

0 commit comments

Comments
 (0)