Make the “Show Templates Folder” link smaller, improve Subscription tab styling

This commit is contained in:
Ben Gotow 2019-03-12 21:09:29 -07:00
parent 8277c72753
commit ccac20b250
2 changed files with 9 additions and 4 deletions

View file

@ -173,7 +173,11 @@ export default class PreferencesTemplates extends React.Component<
selected={this.state.selected}
/>
<a
style={{ marginTop: 10, display: 'block' }}
style={{
marginTop: 10,
display: 'block',
fontSize: '0.9em',
}}
onClick={() => shell.showItemInFolder(TemplateStore.directory())}
>
{localized('Show Templates Folder...')}

View file

@ -34,9 +34,6 @@
flex-direction: column;
align-items: flex-start;
color: @text-color-subtle;
border-radius: @border-radius-large;
border: 1px solid @border-color-primary;
background-color: @background-secondary;
.row {
display: flex;
@ -47,6 +44,10 @@
.padded {
display: block;
padding: 20px;
padding-top: 0;
}
.padded:last-child {
padding-top: 20px;
border-top: 1px solid @border-color-primary;
}