Skip to content

Commit

Permalink
Updated the css and js files. Removed flex-start rules as they did no…
Browse files Browse the repository at this point in the history
…t change anything with the button
  • Loading branch information
KaeTheDev committed Feb 28, 2024
1 parent 9016432 commit 1876b37
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/components/atoms/ActionButtonV2/ActionButtonV2.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,14 @@ div {

.abutton-body {
padding: var(--abutton-spacer-y) var(--abutton-spacer-x);
text-align: left;
}

.abutton {
display: flex;
flex-direction: column;
flex-direction: row;
min-width: 0;
padding: 1em;
--abutton-spacer-y: 1em;
--abutton-spacer-x: 1em;
--abutton-title-spacer-y: 0.5em;
Expand Down
2 changes: 1 addition & 1 deletion src/components/atoms/ActionButtonV2/ActionButtonV2.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ template.innerHTML = `
<div class="action-button-container">
<a class="btn" role="button" href="">
<div class="abutton">
<div class="w-100 top-icon">
<div class="top-icon">
<cod-icon data-icon="" data-size="x-large">
</cod-icon>
</div>
Expand Down

0 comments on commit 1876b37

Please sign in to comment.