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

QOLDEV-34 Removing box-shadow for focus and active states together #876

Merged

Conversation

ghazal-salehi
Copy link
Contributor

@ghazal-salehi ghazal-salehi commented Apr 11, 2023

https://ssq-qol.atlassian.net/browse/QOLDEV-34

It was working as expected when focus only and active only.
However when it is focused and active together, the box-shadow appears. This change is to overwrite bootstrap's box-shadow value.
https://oss-uat.clients.squiz.net/forgov-dev/information-and-communication-technology/communication-and-publishing/website-and-digital-publishing/website-standards-guidelines-and-templates/swe/components/buttons

@@ -351,7 +351,7 @@ $text-underline-offset: 5px;
outline-color: $outline-color;
outline-offset: 2px;
border-radius: $border-radius;
box-shadow: none;
box-shadow: none !important;
Copy link
Contributor

Choose a reason for hiding this comment

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

Is there a way that doesn't require the !important flag? It's kind of a blunt instrument...

@ghazal-salehi ghazal-salehi merged commit e3595ad into release-v4.2.0 Apr 11, 2023
@duttonw duttonw deleted the QOLDEV-34-primary-button-active-and-focus branch July 5, 2023 23:56
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.

None yet

2 participants