Skip to content

Commit

Permalink
Merge pull request #4848 from nextcloud-libraries/fix/a11y-focus-on-t…
Browse files Browse the repository at this point in the history
…ext-area

Correct styles for focused NcTextArea
  • Loading branch information
JuliaKirschenheuter authored Nov 17, 2023
2 parents d0dfac8 + b2a15bd commit 2f5bcb3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/NcTextArea/NcTextArea.vue
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,8 @@ export default {
&:active:not([disabled]),
&:hover:not([disabled]),
&:focus:not([disabled]) {
border-color: var(--color-primary-element);
border-color: 2px solid var(--color-main-text) !important;
box-shadow: 0 0 0 2px var(--color-main-background) !important;
}
// Hide placeholder while not focussed -> show label instead (only if internal label is used)
Expand Down

0 comments on commit 2f5bcb3

Please sign in to comment.