Skip to content

Commit bfe89ed

Browse files
authored
Fix Tabs collapsed focusring (#3744)
* Fix Tabs collapsed focusring
1 parent a13802d commit bfe89ed

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

packages/@adobe/spectrum-css-temp/components/inputgroup/index.css

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ governing permissions and limitations under the License.
3636
flex-wrap: nowrap;
3737
min-width: calc(2.5 * var(--spectrum-dropdown-height));
3838
border-radius: var(--spectrum-border-radius);
39-
background: var(--spectrum-textfield-background-color);
4039

4140
.spectrum-FieldButton {
4241
padding: var(--spectrum-combobox-fieldbutton-inset);
@@ -109,7 +108,6 @@ governing permissions and limitations under the License.
109108

110109
border-radius: var(--spectrum-combobox-quiet-fieldbutton-border-radius);
111110
min-width: calc(2 * var(--spectrum-dropdown-height));
112-
background: transparent;
113111

114112
.spectrum-FieldButton {
115113
inline-size: auto;

packages/@adobe/spectrum-css-temp/components/inputgroup/skin.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ governing permissions and limitations under the License.
1111
*/
1212

1313
.spectrum-InputGroup {
14+
background: var(--spectrum-textfield-background-color);
15+
1416
.spectrum-FieldButton {
1517
&:before {
1618
border-color: var(--spectrum-textfield-border-color);
@@ -93,6 +95,7 @@ governing permissions and limitations under the License.
9395
}
9496

9597
.spectrum-InputGroup--quiet {
98+
background: transparent;
9699
/*
97100
specifically for readonly inputgroups that aren't disabled since the button will have the disabled class
98101
but we don't want the border color to be the disabled quiet one

packages/@adobe/spectrum-css-temp/components/tabs/skin.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@ governing permissions and limitations under the License.
2929
&.spectrum-Tabs--isCollapsed {
3030
:focus-ring {
3131
/* FieldButton Picker focus ring override */
32-
box-shadow: none;
32+
&::after {
33+
box-shadow: none;
34+
}
3335

3436
&::before {
3537
border-color: var(--spectrum-tabs-focus-ring-color);

0 commit comments

Comments
 (0)