From 040a6f86cd0f393a048d91ba7f61375c87451409 Mon Sep 17 00:00:00 2001 From: Juan M Date: Tue, 21 May 2024 11:23:50 -0300 Subject: [PATCH 1/2] Button primary spacing --- src/components/EventButtonGroup.js | 2 -- src/styles/button.css | 4 ++++ src/styles/event-button-group.css | 3 --- src/styles/events-powers.css | 4 ++++ src/styles/link-button.css | 4 ++++ src/styles/stats.css | 1 + 6 files changed, 13 insertions(+), 5 deletions(-) delete mode 100644 src/styles/event-button-group.css diff --git a/src/components/EventButtonGroup.js b/src/components/EventButtonGroup.js index 010375e..e85b96a 100644 --- a/src/components/EventButtonGroup.js +++ b/src/components/EventButtonGroup.js @@ -3,7 +3,6 @@ import { POAP_GALLERY_URL } from 'models/poap' import { DropProps } from 'models/drop' import ButtonGroup from 'components/ButtonGroup' import LinkButton from 'components/LinkButton' -import 'styles/event-button-group.css' /** * @param {PropTypes.InferProps} props @@ -22,7 +21,6 @@ function EventButtonGroup({ {viewInGallery && ( diff --git a/src/styles/button.css b/src/styles/button.css index 1ab5595..62c549c 100644 --- a/src/styles/button.css +++ b/src/styles/button.css @@ -17,6 +17,10 @@ transition: background-color .3s ease-out; } +.button:not(.disabled).primary { + margin-left: .5rem; +} + .button.primary .button-content { background-color: #968cff; color: white; diff --git a/src/styles/event-button-group.css b/src/styles/event-button-group.css deleted file mode 100644 index fa23548..0000000 --- a/src/styles/event-button-group.css +++ /dev/null @@ -1,3 +0,0 @@ -.button-group.right .view-in-gallery { - margin-left: 1rem; -} diff --git a/src/styles/events-powers.css b/src/styles/events-powers.css index a6b29da..f7a8390 100644 --- a/src/styles/events-powers.css +++ b/src/styles/events-powers.css @@ -1,3 +1,7 @@ +.events-powers { + margin-bottom: .5rem; +} + .events-powers .event-power-card { display: inline-block; border: .1rem solid transparent; diff --git a/src/styles/link-button.css b/src/styles/link-button.css index bc1b534..8ac7057 100644 --- a/src/styles/link-button.css +++ b/src/styles/link-button.css @@ -46,6 +46,10 @@ border-radius: 3.2rem; } +.link-button:not(.disabled).primary { + margin-left: 1rem; +} + .link-button.primary .link-button-content { color: white; stroke: white; diff --git a/src/styles/stats.css b/src/styles/stats.css index 91338af..a61d0f5 100644 --- a/src/styles/stats.css +++ b/src/styles/stats.css @@ -3,6 +3,7 @@ border: .35rem solid white; border-radius: 1.62rem; margin-top: .4rem; + margin-bottom: .5rem; background-color: white; } From a79e963969d76d45a39832370d586f55f9271574 Mon Sep 17 00:00:00 2001 From: Juan M Date: Tue, 21 May 2024 11:24:48 -0300 Subject: [PATCH 2/2] Version 1.13.16 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 7fe2c7a..2ee261d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@poap-xyz/poap-family", - "version": "1.13.15", + "version": "1.13.16", "author": { "name": "POAP", "url": "https://poap.xyz"