mirror of
https://github.com/discourse/discourse.git
synced 2025-01-11 21:44:02 +08:00
585c584fdb
This reverts commit ba27ee1637
.
We found some issues with handling of cmd/ctrl/shift + click on `<a` elements
19 lines
731 B
Handlebars
19 lines
731 B
Handlebars
<div class="previews {{if this.draggingActive "dragging"}}">
|
|
<div class="wizard-container__preview topic-preview">
|
|
<canvas width={{this.elementWidth}} height={{this.elementHeight}} style={{this.canvasStyle}}>
|
|
</canvas>
|
|
</div>
|
|
<div class="wizard-container__preview homepage-preview">
|
|
<HomepagePreview @wizard={{this.wizard}} @step={{this.step}} />
|
|
</div>
|
|
</div>
|
|
|
|
<div class="preview-nav">
|
|
<a href class="preview-nav-button {{if this.previewTopic "active"}}" {{action "setPreviewTopic"}}>
|
|
{{i18n "wizard.previews.topic_preview"}}
|
|
</a>
|
|
<a href class="preview-nav-button {{unless this.previewTopic "active"}}" {{action "setPreviewHomepage"}}>
|
|
{{i18n "wizard.previews.homepage_preview"}}
|
|
</a>
|
|
</div>
|