Skip to content

Commit

Permalink
Css fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
TomaszDziezykNetcentric committed Aug 22, 2024
1 parent 167b20c commit 1de5410
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion blocks/footer/footer.css
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ footer {
justify-content: space-between;
}

.footer .footer-column {
.footer .columns .footer-column {
width: calc(50% - 30px);
padding-bottom: 0;
margin-top: 30px;
Expand Down
1 change: 1 addition & 0 deletions blocks/table/table.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

.table .table-element {
border-collapse: collapse;
width: 100%;
}

.table td {
Expand Down
4 changes: 4 additions & 0 deletions blocks/table/table.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,9 @@ export default async function decorate(block) {

block.innerHTML = '';
table.append(tBody);

// links should be displayed as links - no buttons in table
table.querySelectorAll('.button').forEach((link) => link.classList.remove('button'));

block.append(table);
}
4 changes: 4 additions & 0 deletions blocks/text/text.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
margin: auto;
}

.text.center .button-container {
text-align: center;
}

/* centering by set the text aling in the document */
.section-center .text {
text-align: center;
Expand Down

0 comments on commit 1de5410

Please sign in to comment.