Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PXWEB2-34 Added option for icon left and icon right. Added stories. #41

Merged
merged 17 commits into from
Mar 5, 2024

Conversation

PerIngeVaaje
Copy link
Contributor

Changed display from inline-felx to flex for .medium class

Changed display from inline-felx to flex for .medium class
Copy link

netlify bot commented Feb 14, 2024

Deploy Preview for pxweb2 ready!

Name Link
🔨 Latest commit 4cd0c6f
🔍 Latest deploy log https://app.netlify.com/sites/pxweb2/deploys/65ddaf3299521900082fbc0f
😎 Deploy Preview https://deploy-preview-41--pxweb2.netlify.app/
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

-Set border-radius to 4px for small button on hover and active

-Use box-shadow instead of border to get "inset border" which will not increase button compares to button without border, Set Spread to 2px to get ticker "border",

-Set display to inline-flex as in Figma spec
Box shadow decreased from 2 to 1.5 px
Padding top/bottom 0.375 rem (6px) for small icons with text
Removed fixed with for small icons with text.
Separate classes for icon-only. Small button should have 4px(0.25rem) for left and right padding when having icon without text .
Changed display from inline-felx to flex for .medium class
-Set border-radius to 4px for small button on hover and active

-Use box-shadow instead of border to get "inset border" which will not increase button compares to button without border, Set Spread to 2px to get ticker "border",

-Set display to inline-flex as in Figma spec
Box shadow decreased from 2 to 1.5 px
Padding top/bottom 0.375 rem (6px) for small icons with text
Removed fixed with for small icons with text.
Separate classes for icon-only. Small button should have 4px(0.25rem) for left and right padding when having icon without text .
@PerIngeVaaje
Copy link
Contributor Author

Did a rebase to get latest changes from main after nx updating process. Only changes done in Button-folder as part of this pr.

Copy link
Contributor

@SjurSutterudSagen SjurSutterudSagen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@PerIngeVaaje PerIngeVaaje dismissed SjurSutterudSagen’s stale review March 4, 2024 13:04

The merge-base changed after approval.

@MikaelNordberg MikaelNordberg marked this pull request as ready for review March 5, 2024 13:35
Copy link
Contributor

@SjurSutterudSagen SjurSutterudSagen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Still good

@PerIngeVaaje PerIngeVaaje dismissed SjurSutterudSagen’s stale review March 5, 2024 13:37

The merge-base changed after approval.

@SjurSutterudSagen SjurSutterudSagen self-requested a review March 5, 2024 13:39
Copy link
Contributor

@SjurSutterudSagen SjurSutterudSagen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can I approve now?

MikaelNordberg
MikaelNordberg previously approved these changes Mar 5, 2024
Copy link
Contributor

@MikaelNordberg MikaelNordberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@PerIngeVaaje PerIngeVaaje dismissed stale reviews from MikaelNordberg and SjurSutterudSagen March 5, 2024 13:48

The merge-base changed after approval.

@MikaelNordberg MikaelNordberg reopened this Mar 5, 2024
@SjurSutterudSagen SjurSutterudSagen self-requested a review March 5, 2024 13:55
Copy link
Contributor

@MikaelNordberg MikaelNordberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@MikaelNordberg MikaelNordberg merged commit ffef6e8 into main Mar 5, 2024
6 checks passed
@MikaelNordberg MikaelNordberg deleted the feature/PXWEB2-34-Button branch March 5, 2024 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants