Chrome extension

Ive created a simple extension for chrome, I'm now stuck on a silly issue. I want to change the corners to rounded corners, is this possible?
7 Replies
Tenkes
Tenkes2y ago
You can use border-radius property in CSS https://developer.mozilla.org/en-US/docs/Web/CSS/border-radius
border-radius - CSS: Cascading Style Sheets | MDN
The border-radius CSS property rounds the corners of an element's outer border edge. You can set a single radius to make circular corners, or two radii to make elliptical corners.
d0kefish
d0kefishOP2y ago
It seems they are blocked or something I can get it round on all other places but the one that's the main one
Tenkes
Tenkes2y ago
Oh you are trying to change border radius of that little extension window?
d0kefish
d0kefishOP2y ago
Yeah exactly Im not a pro by any means, but I 'know' how to get borders round but that one does not seem to move It references a agent user or something like that
Tenkes
Tenkes2y ago
I'm not sure if you can do that at all. But you can try to throw !important so it overrides the default styling. So you would do something like:
extension-window {
border-radius: 1rem !important;
}
extension-window {
border-radius: 1rem !important;
}
not even sure if you can even target it in CSS, but that would probably do the job
d0kefish
d0kefishOP2y ago
I tried but seems no result
Want results from more Discord servers?
Add your server