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

Remove Image Outline Highlight #40

Closed
yishiy opened this issue Sep 23, 2020 · 3 comments
Closed

Remove Image Outline Highlight #40

yishiy opened this issue Sep 23, 2020 · 3 comments
Labels
question Further information is requested

Comments

@yishiy
Copy link

yishiy commented Sep 23, 2020

Hi,

I want to ask for help on how to remove the outline highlight when the image is focused.

Tried many different combinations but no one worked:

.vue-product-spinner img:focus{
outline: none;
}

picture{
outline: none;
}

.vue-product-spinner img{
outline: none;
}

Or is there any class I can use to select those images within vue-product-spinner class?

@micheleriva
Copy link
Owner

.vue-product-spinner img {
  outline: none;
}

this works well on the demo.
If you're using single page components with scoped css, try as follows:

/deep/.vue-product-spinner img {
  outline: none;
}

@micheleriva micheleriva added the question Further information is requested label Sep 23, 2020
@yishiy
Copy link
Author

yishiy commented Sep 23, 2020

This worked, thanks a lot! @micheleriva

@micheleriva
Copy link
Owner

Awesome!

@micheleriva micheleriva pinned this issue Sep 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants