Fixed button type on div causing button appearance in Safari

no issue

In Safari, the second dropdown looked a bit weird when you select 'publish only' because of type=button being used on a div.
This commit is contained in:
Simon Backx 2022-05-10 12:12:27 +02:00
parent e12ab83bed
commit 95fa290fa8

View File

@ -55,7 +55,7 @@
</span>
</button>
{{else}}
<div type="button" class="gh-publish-setting-title {{if (eq @publishOptions.publishType "publish") "disabled"}}">
<div class="gh-publish-setting-title {{if (eq @publishOptions.publishType "publish") "disabled"}}">
{{svg-jar "member"}}
{{#if (eq @publishOptions.publishType "publish")}}
<div class="gh-publish-setting-trigger">
@ -110,4 +110,4 @@
<div class="gh-publish-cta">
<button type="button" class="gh-btn gh-btn-black gh-btn-large" {{on "click" @confirm}}><span>Continue, final review &rarr;</span></button>
<button type="button" class="gh-btn gh-btn-link gh-btn-large gh-publish-cta-secondary" {{on "click" @close}}>Back to editor</button>
</div>
</div>