diff --git a/assets/css/main.css b/assets/css/main.css index 44a233a4..97359e85 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -3478,13 +3478,16 @@ $('#fadeInLink').on('click', function(e) { /* with icon */ [data-swarm-button][data-icon="left"] .svg-icon, -[data-swarm-button][data-icon="left"] [data-swarm-icon] { +[data-swarm-button][data-icon="left"] [data-swarm-icon], [data-swarm-link][data-icon="left"] .svg-icon { margin-right: var(--space-half); } [data-swarm-button][data-icon="right"] .svg-icon, -[data-swarm-button][data-icon="right"] [data-swarm-icon] { +[data-swarm-button][data-icon="right"] [data-swarm-icon], [data-swarm-link][data-icon="right"] .svg-icon { margin-left: var(--space-half); } +[data-swarm-link][data-icon="only"] { + padding: var(--space-half); } + /*doc --- title: Cards diff --git a/src/__snapshots__/footer.test.jsx.snap b/src/__snapshots__/footer.test.jsx.snap index 218ebd1c..4eceeb15 100644 --- a/src/__snapshots__/footer.test.jsx.snap +++ b/src/__snapshots__/footer.test.jsx.snap @@ -207,7 +207,7 @@ exports[`Footer exists 1`] = ` items={ Array [ - © 2023 Meetup LLC + © 2024 Meetup LLC , ] } diff --git a/src/forms/__snapshots__/button.test.jsx.snap b/src/forms/__snapshots__/button.test.jsx.snap index 8eae5ab8..3e65643d 100644 --- a/src/forms/__snapshots__/button.test.jsx.snap +++ b/src/forms/__snapshots__/button.test.jsx.snap @@ -1,3 +1,11 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`Button is a HTML button element exists 1`] = ` - + Open + @@ -140,18 +137,22 @@ exports[`Tooltip tooltip with a close button should render correctly 1`] = ` type="button" > - - - + + + + + + +
- - + +