UX: Modifications to admin/customize layout

This commit is contained in:
Kris
2019-02-07 22:27:35 -05:00
parent 56820a5fa5
commit f849169619
6 changed files with 41 additions and 59 deletions

View File

@ -61,18 +61,6 @@ export default Ember.Component.extend({
}
},
didRender() {
this._super(...arguments);
// hide scrollbar
const $container = this.$(".themes-list-container");
const containerNode = $container[0];
if (containerNode) {
const width = containerNode.offsetWidth - containerNode.clientWidth;
$container.css("width", `calc(100% + ${width}px)`);
}
},
actions: {
changeView(newTab) {
if (newTab !== this.get("currentTab")) {