Fix spinner button spinning background (#113)

Fixes #107
This commit is contained in:
Nolan Lawson 2018-04-14 10:07:45 -07:00 committed by GitHub
parent 18af622f49
commit 6be77a6b25
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -6,7 +6,7 @@
:disabled
delegate-key="{{delegateKey}}"
focus-key="{{focusKey || ''}}" >
<svg class="icon-button-svg" ref:svg>
<svg class="icon-button-svg {{svgClassName || ''}}" ref:svg>
<use xlink:href="{{href}}" />
</svg>
</button>
@ -18,7 +18,7 @@
focus-key="{{focusKey || ''}}"
:disabled
on:click >
<svg class="icon-button-svg" ref:svg>
<svg class="icon-button-svg {{svgClassName || ''}}" ref:svg>
<use xlink:href="{{href}}" />
</svg>
</button>

View file

@ -6,7 +6,7 @@
on:click="onEmojiClick()"
/>
<IconButton
className="{{$uploadingMedia ? 'spin' : ''}}"
svgClassName="{{$uploadingMedia ? 'spin' : ''}}"
label="Add media"
href="{{$uploadingMedia ? '#fa-spinner' : '#fa-camera'}}"
on:click="onMediaClick()"