diff --git a/composer.json b/composer.json index f918779..2b146e6 100644 --- a/composer.json +++ b/composer.json @@ -53,7 +53,7 @@ "npm i -g csslint && npm i -g jshint" ], "build": [ - "node_modules/.bin/uglifyjs user/*.js --comments=/^!/ --preamble='/*eslint-disable*/' -bo ouop.dist.js", + "node_modules/.bin/uglifyjs user/*.js --comments=/^!/ --preamble='/*eslint-disable*//*jshint ignore:start*/' -bo ouop.dist.js", "node_modules/.bin/lessc style/*.less style/ouop-styles.css" ], "jshint-config": "echo '{ \"laxcomma\": true }' > .jshintrc", diff --git a/style/ouop-styles.less b/style/ouop-styles.less index ea5a3f7..bbde97f 100644 --- a/style/ouop-styles.less +++ b/style/ouop-styles.less @@ -55,11 +55,11 @@ div[ data-region = drawer ] { .ouop_oucu-ndf42 { #ouop-toggle-hidden-ui-btn { + bottom: 2px; display: block; + padding: .4em 1em; position: fixed; - bottom: 2px; right: 2px; - padding: .4em 1em; } } @@ -130,7 +130,7 @@ div[ data-region = drawer ] { // All pages. &.ouop-not-team { #nav-drawer, - [ data-region = drawer-toggle ], + div[ data-region = drawer-toggle ], .completionprogress, #block-region-side-pre, //.block-region, .breadcrumb-button