fix: slow transitions in chrome

This commit is contained in:
eggy 2022-07-22 16:53:39 -04:00
parent 20a92b96a8
commit 6c1fa7f54c

View File

@ -48,7 +48,9 @@ li.home-text {
} }
* { * {
transition: all 0.2s ease; --trans: 0.2s ease;
transition: opacity var(--trans), height var(--trans), width var(--trans),
padding-left var(--trans);
} }
@media screen and (max-width: 510px) { @media screen and (max-width: 510px) {
@ -73,4 +75,8 @@ li.home-text {
gap: 0rem; gap: 0rem;
} }
} }
html.dark svg {
fill: white;
}
</style> </style>