jdan / 98.css

A design system for building faithful recreations of old UIs
https://jdan.github.io/98.css
MIT License
9.15k stars 301 forks source link

Fix issue where active button style pushes content down 1px #146

Closed curtgrimes closed 1 year ago

curtgrimes commented 2 years ago

Previously, when a button was pressed, the content below it would shift down 1px. This bug was introduced in #44 which added the effect of the text shifting left and down 1px on press.

After this commit, the text of the button still correctly shifts down and left 1px but the overall height of the button does not change.

This commit introduces a small issue where the button does not shift down visually in Safari.

Fix #145

vercel[bot] commented 2 years ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
98css ❌ Failed (Inspect) Oct 29, 2022 at 4:04PM (UTC)
jdan commented 1 year ago

150 introduced a cool hack with text-shadow that I just merged, but thank you for your time and patience here!