Update styles.css to work with options

This commit is contained in:
Ryo Hilmawan 2020-11-06 03:10:09 +07:00 committed by GitHub
parent 4314a3a70a
commit ddfbfaf0ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,24 +5,24 @@
* under the MIT license * under the MIT license
*/ */
.notion-topbar-actions > div { .notion-topbar-icon {
width: 32px; width: 32px;
padding: 0 7px !important; padding: 0 7px !important;
} }
.notion-topbar-actions > :not(:first-child):not(:last-child) > *:not(div) { .notion-topbar-icon:not(:first-child) > *:not(div) {
display: none !important; display: none !important;
} }
.notion-topbar-actions > div > div, .notion-topbar-icon > div,
.notion-topbar-actions svg { .notion-topbar-icon svg {
width: 18px; width: 18px;
height: 18px; height: 18px;
} }
.notion-topbar-actions > [style*="padding-left: 8px"] > div > svg:last-child { .notion-topbar-icon[style*="padding-left: 8px"] > div > :last-child {
display: none; display: none;
} }
.notion-topbar-actions > [style*="padding-left: 6px"] > div > svg:first-child { .notion-topbar-icon[style*="padding-left: 6px"] > div > :first-child {
display: none; display: none;
} }