docs: fix easings example glitch (#9114)

Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
pull/9144/head
gtmnayan 11 months ago committed by GitHub
parent bd64f07e98
commit 213db5d20a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -68,6 +68,10 @@
</div> </div>
<style> <style>
:root {
scrollbar-gutter: stable;
}
.easing-vis { .easing-vis {
display: flex; display: flex;
max-height: 95%; max-height: 95%;

@ -74,18 +74,14 @@
ul { ul {
list-style: none; list-style: none;
padding: 0; padding: 0;
display: flex; display: grid;
flex-direction: column; grid-template-columns: 1fr;
align-items: flex-start; gap: 3px;
font-size: 18px; font-size: 18px;
} }
li { li {
padding: 5px 10px; display: grid;
background: #eee;
border-radius: 2px;
margin: 3px 0;
cursor: pointer;
} }
li:hover { li:hover {
@ -93,9 +89,16 @@
color: white; color: white;
} }
.selected { button {
border: none;
border-radius: 2px;
padding: 2px;
}
.selected > button {
background: #ff3e00; background: #ff3e00;
color: white; color: white;
font-weight: bold;
} }
h3 { h3 {

Loading…
Cancel
Save