Skip to content

Commit

Permalink
Set focus style for contenteditable elements
Browse files Browse the repository at this point in the history
  • Loading branch information
MohamadSalman11 authored Feb 2, 2025
1 parent 5708adc commit 7df0cdc
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions scss/_reboot.scss
Original file line number Diff line number Diff line change
Expand Up @@ -375,6 +375,14 @@ th {
border-width: 0;
}

// Contenteditable
//
// Handle focus states for elements with contenteditable set to true or plaintext-only

[contenteditable]:not([contenteditable="false"]):focus {
outline: 0;
box-shadow: $input-focus-box-shadow;
}

// Forms
//
Expand Down

0 comments on commit 7df0cdc

Please sign in to comment.