notion-icons: fix toggle icon shrinking

This commit is contained in:
Ryo Hilmawan 2020-11-24 18:39:37 +07:00 committed by GitHub
parent 0d37708ad8
commit b25f24f5fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -77,6 +77,8 @@
transition: background 200ms, margin-bottom 200ms ease-in; transition: background 200ms, margin-bottom 200ms ease-in;
} }
.notion-icons--toggle .triangle { .notion-icons--toggle .triangle {
flex-grow: 0;
flex-shrink: 0;
width: 0.9em; width: 0.9em;
height: 1em; height: 1em;
margin: 0 0.75em 0 0.5em; margin: 0 0.75em 0 0.5em;
@ -154,8 +156,9 @@
.notion-icons--extra { .notion-icons--extra {
flex-grow: 0;
flex-shrink: 0;
margin-left: auto; margin-left: auto;
margin-right: 8px;
display: flex; display: flex;
align-items: center; align-items: center;
} }