Skip to content

Commit

Permalink
Only style Ui.ImageCrop on focus when it's not embedded.
Browse files Browse the repository at this point in the history
  • Loading branch information
gdotdesign committed Apr 18, 2021
1 parent 3d8f32f commit 9953c71
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions source/ImageCrop.mint
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,13 @@ component Ui.ImageCrop {
}

&:focus {
border-color: var(--input-focus-border);
background: var(--input-focus-color);
color: var(--input-focus-text);
outline: 0;

if (!embedded) {
border-color: var(--input-focus-border);
background: var(--input-focus-color);
color: var(--input-focus-text);
}
}
}

Expand Down

0 comments on commit 9953c71

Please sign in to comment.