Skip to content

Commit a0a94eb

Browse files
committed
Don't invoke transition at page load (mobile)
1 parent 10d8026 commit a0a94eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/assets/sass/modules/_layout.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,12 +177,12 @@ noscript {
177177
width: 34px;
178178
height: 34px;
179179
padding-left: 32px;
180-
transition: width 0.2s ease-in-out;
181180
border-color: var(--clr-bkgd);
182181
background: var(--clr-bkgd-form) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cg fill='%23333'%3E%3Cpath d='M4,13c0-5,4-9,9-9s9,4,9,9s-4,9-9,9S4,18,4,13z M13,19c3.3,0,6-2.7,6-6s-2.7-6-6-6s-6,2.7-6,6S9.7,19,13,19z'/%3E%3Cpath d='M17.5,19l1.5-1.5l4.5,3L28,25c0,0,0,1.5-0.8,2.2S25,28,25,28l-4.5-4.5L17.5,19z'/%3E%3C/g%3E%3C/svg%3E") no-repeat left center;
183182
background-size: 32px 32px;
184183

185184
&:focus {
185+
transition: width 0.2s ease-in-out;
186186
border-color: var(--clr-focus);
187187
}
188188
}

0 commit comments

Comments
 (0)