mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Updating style of theme options in wizard (#6177)
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import computed from "ember-addons/ember-computed-decorators";
|
||||
import { observes } from "ember-addons/ember-computed-decorators";
|
||||
|
||||
import {
|
||||
@@ -7,10 +8,17 @@ import {
|
||||
LOREM
|
||||
} from "wizard/lib/preview";
|
||||
|
||||
export default createPreviewComponent(225, 120, {
|
||||
export default createPreviewComponent(305, 165, {
|
||||
logo: null,
|
||||
avatar: null,
|
||||
|
||||
classNameBindings: ["isSelected"],
|
||||
|
||||
@computed("selectedId", "colorsId")
|
||||
isSelected(selectedId, colorsId) {
|
||||
return selectedId === colorsId;
|
||||
},
|
||||
|
||||
click() {
|
||||
this.sendAction("onChange", this.get("colorsId"));
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user