Skip to content

Commit

Permalink
Use cards questions as simple + centered
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcarol committed Dec 13, 2024
1 parent e787a11 commit b3aac3d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions eds/blocks/cards/cards.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ function processStandardCard(div) {
}

export default function decorate(block) {
if (block.classList.contains('questions')) {
block.classList.add('simple', 'centered');
}
/* change to ul, li */
const ul = document.createElement('ul');
[...block.children].forEach((row) => {
Expand Down

0 comments on commit b3aac3d

Please sign in to comment.