Skip to content

Commit

Permalink
Fix loading indicator getting clipped on macOS
Browse files Browse the repository at this point in the history
By redoing the indicator in CSS.
  • Loading branch information
ghostwords committed Aug 24, 2020
1 parent b761e5d commit 2a226b2
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3 deletions.
17 changes: 15 additions & 2 deletions src/skin/options-layout.css
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,21 @@ p, #settingsForm {
justify-content: center;
}

#tracking-domains-loader .ui-icon {
font-size: 500%;
#tracking-domains-loader .spinner {
border: 0.5em solid #222;
border-bottom-color: #fff;
height: 5em;
width: 5em;
border-radius: 5em;
animation: spin 1s infinite linear;
}
@keyframes spin {
0% {
transform: rotate(0);
}
100% {
transform: rotate(359deg);
}
}

#blockedResources {
Expand Down
2 changes: 1 addition & 1 deletion src/skin/options.html
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ <h1><span class="i18n_options_title"></span></h1>
<span id="options_domain_list_no_trackers" class="i18n_options_domain_list_no_trackers" style="display:none"></span>
</p>
<div id="tracking-domains-loader" style="display:none">
<div class="ui-icon ui-icon-loading-status-circle rotate"></div>
<div class="spinner"></div>
</div>
<div id="tracking-domains-div">
<ul id="tracking-domains-filters">
Expand Down

0 comments on commit 2a226b2

Please sign in to comment.