Skip to content

Commit

Permalink
[WC-2022] combobox internal release finalize style (#66)
Browse files Browse the repository at this point in the history
  • Loading branch information
gjulivan authored Sep 8, 2023
2 parents 9e1249c + e0f5347 commit 641edc3
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 7 deletions.
6 changes: 5 additions & 1 deletion packages/atlas-core/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,13 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

## [Unreleased]

### Added

- We improved styles for form controls when they are focused.

## [3.11.3] Atlas Core - 2023-9-1

## Added
### Added

- We added focus state styling to PopupLayout close button.

Expand Down
2 changes: 1 addition & 1 deletion packages/atlas-core/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "atlas-core",
"moduleName": "Atlas Core",
"version": "3.11.3",
"version": "3.11.4",
"license": "Apache-2.0",
"copyright": "© Mendix Technology BV 2022. All rights reserved.",
"repository": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,14 @@
}
}

.form-control:not([readonly]):focus {
border-color: $form-input-border-focus-color;
outline: 0;
background-color: $form-input-bg-focus;
box-shadow: none;
.form-control:not([readonly]) {
&:focus,
&:focus-within {
border-color: $form-input-border-focus-color;
outline: 0;
background-color: $form-input-bg-focus;
box-shadow: none;
}
}

.form-control[disabled],
Expand Down

0 comments on commit 641edc3

Please sign in to comment.