mirror of
https://github.com/discourse/discourse.git
synced 2025-06-01 17:40:43 +08:00
UX: Modifications to admin/customize layout
This commit is contained in:
@ -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")) {
|
||||
|
Reference in New Issue
Block a user