chore: minor code clean

This commit is contained in:
EnixCoda 2021-05-30 22:35:27 +08:00
parent 16eb77be63
commit c286ec7fbe
No known key found for this signature in database
GPG key ID: 0C1A07377913A1DD
3 changed files with 2 additions and 3 deletions

View file

@ -54,7 +54,7 @@ export function FileTreeSettings(props: React.PropsWithChildren<Props>) {
})
}}
value={configContext.value.recursiveToggleFolder}
></SelectInput>
/>
</Field>
<Field title="Icons" id="file-tree-icons">
<SelectInput<Config['icons']>

View file

@ -88,7 +88,7 @@ export function SidebarSettings(props: React.PropsWithChildren<Props>) {
})
}}
value={configContext.value.toggleButtonContent}
></SelectInput>
/>
</Field>
<SimpleToggleField
field={{

View file

@ -393,7 +393,6 @@ $minimal-z-index: max($github-header-z-index, $github-pull-request-float-header-
display: flex;
flex: 1;
flex-direction: column;
max-height: calc(100vh - 34px); // temporary fix for layout issue occurred since Chrome v76
min-height: 0; // make content shrinkable
.header {