How to change QSelect border color? #14826
-
On my page I have a QCard and a QSelect element. It looks like this: But the QSelect border is slightlty darker than the QCard. So now I want to make the QSelect border the same as the QCard border. After inspecting the QSelect element I thought I could target it like this, but it has no effect: <style scoped lang="scss">
.q-field--outlined .q-field__control::before {
border: 1px solid $separator-color !important;
}
</style> Can anyone please tell me how to change the border color of the QSelect element? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Does anyone have any ideas for this? I'm still stumped. |
Beta Was this translation helpful? Give feedback.
-
Your solution works in general (https://codepen.io/milospaunovic/pen/gOKWxEP), but not in your case because of the |
Beta Was this translation helpful? Give feedback.
Your solution works in general (https://codepen.io/milospaunovic/pen/gOKWxEP), but not in your case because of the
scoped
parameter instyle
.