Skip to content

Commit

Permalink
Fix settings button position
Browse files Browse the repository at this point in the history
  • Loading branch information
alexchorman committed Nov 5, 2019
1 parent fee8634 commit 784eec1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/app/components/plugin-manager-component.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ class PluginManagerComponent extends ViewPlugin {
</button>`

return yo`
<article id="remixPluginManagerListItem_${name}" class="list-group-item px-2 pt-2 pb-0 plugins-list-group-item" title="${displayName}" >
<article id="remixPluginManagerListItem_${name}" class="list-group-item py-1 plugins-list-group-item" title="${displayName}" >
<div class="${css.row} justify-content-between align-items-center mb-2">
<h6 class="${css.displayName} plugin-name">
${displayName}
Expand Down
10 changes: 3 additions & 7 deletions src/app/components/plugin-manager-settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,8 @@ const css = csjs`
align-items: center;
padding: 5px 20px;
}
.permissionsButton {
height: 32px;
padding: 0 12px;
font-weight: 700;
font-size: 12px;
line-height: 16px;
.permissions button {
padding: 2px 5px;
cursor: pointer;
}
.permissionForm h4 {
Expand Down Expand Up @@ -131,7 +127,7 @@ export class PluginManagerSettings {
render () {
return yo`
<footer class="bg-light ${css.permissions} remix-bg-opacity">
<button onclick="${() => this.openDialog()}" class="btn btn-primary btn-sm ${css.permissionsButton}">Settings</button>
<button onclick="${() => this.openDialog()}" class="btn btn-primary settings-button">Settings</button>
</footer>`
}

Expand Down
2 changes: 1 addition & 1 deletion src/app/tabs/theme-module.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { EventEmitter } from 'events'
import * as packageJson from '../../../package.json'

const themes = [
{name: 'Dark', quality: 'dark', url: 'https://res.cloudinary.com/dvtmp0niu/raw/upload/v1572885068/remix-custom-dark.css'},
{name: 'Dark', quality: 'dark', url: 'https://res.cloudinary.com/dvtmp0niu/raw/upload/v1572963493/remix-custom-dark.css'},
{name: 'Light', quality: 'light', url: 'https://res.cloudinary.com/dvtmp0niu/raw/upload/v1572342742/light-theme.css'},

// switching to the url Todo: remove when the theme is ready
Expand Down

0 comments on commit 784eec1

Please sign in to comment.