mirror of
https://github.com/discourse/discourse.git
synced 2025-01-31 07:15:16 +08:00
DEV: Add element wrapper to the body and screenshot (#30497)
This commit is contained in:
parent
86637403c7
commit
d1b3b85584
|
@ -92,12 +92,15 @@ export default class DiscourseNewFeatureItem extends Component {
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="admin-new-feature-item__body-wrapper">
|
||||||
{{#if @item.screenshot_url}}
|
{{#if @item.screenshot_url}}
|
||||||
|
<div class="admin-new-feature-item__img-container">
|
||||||
<img
|
<img
|
||||||
src={{@item.screenshot_url}}
|
src={{@item.screenshot_url}}
|
||||||
class="admin-new-feature-item__screenshot"
|
class="admin-new-feature-item__screenshot"
|
||||||
alt={{@item.title}}
|
alt={{@item.title}}
|
||||||
/>
|
/>
|
||||||
|
</div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
<div class="admin-new-feature-item__body">
|
<div class="admin-new-feature-item__body">
|
||||||
|
@ -154,5 +157,6 @@ export default class DiscourseNewFeatureItem extends Component {
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
</template>
|
</template>
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user