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

apps/cms: change button for col_cta_block to be more inline with the … #55

Merged
merged 1 commit into from
Jun 17, 2024

Conversation

goapunk
Copy link
Contributor

@goapunk goapunk commented Jun 13, 2024

…behavior of the background_cta_block

fixes #42

testing: create two block (background block and normal (col-) cta block) and check button behavior

Tasks

  • PR name contains story or task reference
  • Documentation (docs and inline)
  • Tests (including n+1 and django_assert_num_queries where applicable)
  • Changelog

@goapunk goapunk force-pushed the jd-2024-06-fix-cta_block_button_styling branch from 89c889d to ca7f3bc Compare June 13, 2024 14:31
@goapunk goapunk force-pushed the jd-2024-06-fix-cta_block_button_styling branch from ca7f3bc to 63a46c6 Compare June 13, 2024 14:33
@goapunk goapunk requested review from m4ra and hom3mad3 June 17, 2024 10:17
@goapunk
Copy link
Contributor Author

goapunk commented Jun 17, 2024

@m4ra @hom3mad3 testing is a bit annoying, we could do it together and I share my screen if necessary

&:active,
&:focus-within {
text-decoration: underline;
border-color: $border-color;
Copy link
Contributor

Choose a reason for hiding this comment

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

is this second declaration of border-color here necessary?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes, otherwise the border color will be black instead of white on hover/focus

@hom3mad3 hom3mad3 self-requested a review June 17, 2024 13:00
@hom3mad3 hom3mad3 merged commit a2fcdbc into main Jun 17, 2024
3 checks passed
@hom3mad3 hom3mad3 deleted the jd-2024-06-fix-cta_block_button_styling branch June 17, 2024 13:00
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.

transparent button on single coulmn cta block
2 participants