0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00

Fixed responsive icons in theme preview not displaying in Chrome

This commit is contained in:
Sanne de Vries 2021-10-13 15:59:14 +02:00
parent 67fa946bff
commit 5767fe0f43
2 changed files with 7 additions and 3 deletions

View file

@ -55,7 +55,7 @@
{{/if}}
{{else}}
<p>
"{{this.themeName}}" uploaded successfully.
<strong>{{this.themeName}}</strong> uploaded successfully.
{{#if this.canActivateTheme}}Do you want to activate it now?{{/if}}
</p>
{{/if}}
@ -125,7 +125,7 @@
</button>
{{/if}}
{{#if this.canActivateTheme}}
<button type="button" {{on "click" this.activate}} class="gh-btn" data-test-activate-now-button>
<button type="button" {{on "click" this.activate}} class="gh-btn gh-btn-primary" data-test-activate-now-button>
<span>Activate{{#if this.validationErrors}} with errors{{/if}}</span>
</button>
{{/if}}

View file

@ -1561,9 +1561,13 @@ p.theme-validation-details {
height: 34px;
}
.gh-design-preview-mode span {
line-height: 28px;
}
.gh-design-preview-mode svg {
max-width: 16px;
max-height: 16px;
height: 16px;
vertical-align: middle;
fill: var(--midgrey);
}