mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-02 16:41:24 +03:00
Updated editor styles for before/after card
refs https://github.com/TryGhost/Team/issues/1249
This commit is contained in:
parent
2aae62c18d
commit
1d19f74ba8
@ -62,12 +62,13 @@
|
|||||||
{{on "change" this.removeFocus}}
|
{{on "change" this.removeFocus}}
|
||||||
/>
|
/>
|
||||||
{{else}}
|
{{else}}
|
||||||
<div class="overflow-hidden" style="width:49%; display: inline-block;">
|
<div class="overflow-hidden" style="width:49%; height: 100%; display: inline-block;">
|
||||||
{{#if @payload.beforeImage}}
|
{{#if @payload.beforeImage}}
|
||||||
<img
|
<img
|
||||||
class="kg-before-after-card-before-image"
|
class="kg-before-after-card-before-image"
|
||||||
src={{@payload.beforeImage.src}}
|
src={{@payload.beforeImage.src}}
|
||||||
width={{this.imageWidth}}
|
width={{this.imageWidth}}
|
||||||
|
style="height: auto; object-fit: cover;"
|
||||||
/>
|
/>
|
||||||
{{else}}
|
{{else}}
|
||||||
<button class="flex flex-column items-center center sans-serif fw4 f7 middarkgrey pa16 pt14 pb14 kg-image-button" {{on "click" this.selectBeforeImage}}>
|
<button class="flex flex-column items-center center sans-serif fw4 f7 middarkgrey pa16 pt14 pb14 kg-image-button" {{on "click" this.selectBeforeImage}}>
|
||||||
|
Loading…
Reference in New Issue
Block a user