DEV: Add element wrapper to the body and screenshot ()

This commit is contained in:
Ella E. 2024-12-30 18:09:04 -07:00 committed by GitHub
parent 86637403c7
commit d1b3b85584
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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>
} }