Skip to content

Commit

Permalink
feat: change show voter horizontalAlignment to start
Browse files Browse the repository at this point in the history
  • Loading branch information
dyaskur committed Dec 15, 2024
1 parent 7bce403 commit 25941dd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/cards/PollCard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ export default class PollCard extends BaseCard {
section.uncollapsibleWidgetsCount = 1;
// @ts-ignore we need to wait until google update it in the official schema
section.collapseControl = {
'horizontalAlignment': 'CENTER',
'horizontalAlignment': 'START',
'collapseButton': {
'icon': {
'materialIcon': {
Expand Down
4 changes: 2 additions & 2 deletions tests/json/vote_card.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"collapsible": true,
"uncollapsibleWidgetsCount": 1,
"collapseControl": {
"horizontalAlignment": "CENTER",
"horizontalAlignment": "START",
"collapseButton": {
"icon": {
"materialIcon": {
Expand Down Expand Up @@ -114,7 +114,7 @@
"collapsible": true,
"uncollapsibleWidgetsCount": 1,
"collapseControl": {
"horizontalAlignment": "CENTER",
"horizontalAlignment": "START",
"collapseButton": {
"icon": {
"materialIcon": {
Expand Down

0 comments on commit 25941dd

Please sign in to comment.