fix(modal.css): scope animated transform to modal controls that have svgs

This commit is contained in:
Cory Dransfeldt 2025-03-29 09:05:46 -07:00
parent 58c4ff29c0
commit 29aa3f0c30
No known key found for this signature in database
3 changed files with 7 additions and 4 deletions

4
package-lock.json generated
View file

@ -1,12 +1,12 @@
{
"name": "coryd.dev",
"version": "1.1.4",
"version": "1.1.5",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "coryd.dev",
"version": "1.1.4",
"version": "1.1.5",
"license": "MIT",
"dependencies": {
"minisearch": "^7.1.2",

View file

@ -1,6 +1,6 @@
{
"name": "coryd.dev",
"version": "1.1.4",
"version": "1.1.5",
"description": "The source for my personal site. Built using 11ty (and other tools).",
"type": "module",
"engines": {

View file

@ -50,7 +50,10 @@ dialog {
&:is(:hover, :focus, :active) {
color: var(--link-color-hover);
transform: var(--transform-icon-tilt);
&:has(svg) {
transform: var(--transform-icon-tilt);
}
}
}