mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-28 21:33: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}}
|
||||
/>
|
||||
{{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}}
|
||||
<img
|
||||
class="kg-before-after-card-before-image"
|
||||
src={{@payload.beforeImage.src}}
|
||||
width={{this.imageWidth}}
|
||||
style="height: auto; object-fit: cover;"
|
||||
/>
|
||||
{{else}}
|
||||
<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