Skip to content

Commit 167617e

Browse files
committed
Increase radio-group transition duration for inspection
Fixes #70
1 parent 0039fa5 commit 167617e

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

dist/js/customizer.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/_js/customizer/scss/controls/_radio-group.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858

5959
position: relative;
6060
cursor: pointer;
61-
transition: all .3s ease;
61+
transition: all 1s ease;
6262

6363
color: inherit;
6464
background: var(--sm-color-palette-neutral-color-1);

tests/js/radio-group-style.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export const runRadioGroupStyleTests = async ( assert ) => {
77

88
assert.ok( labelBlockMatch, 'expected to find the shared sm-radio-group label rule' );
99
assert.ok(
10-
/transition\s*:\s*all\s+\.3s\s+ease\s*;/.test( labelBlockMatch[1] ),
11-
'shared sm-radio-group labels should restore the original all .3s ease transition'
10+
/transition\s*:\s*all\s+1s\s+ease\s*;/.test( labelBlockMatch[1] ),
11+
'shared sm-radio-group labels should use the temporary 1s inspection transition'
1212
);
1313
};

0 commit comments

Comments
 (0)