Skip to content

Commit

Permalink
fix: incomplete instance styling
Browse files Browse the repository at this point in the history
Not sure how this worked in my previous PR but obviously it has
to be defined in the template scope.

Will get back to this in follow-up PRs since I want to extract
a lot of data-nav functionality into hooks.
  • Loading branch information
Patrik Kullman authored and nomego committed Jun 22, 2020
1 parent 8465c31 commit 25ec6c4
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions cosmoz-data-nav.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ class CosmozDataNav extends hauntedPolymer('__cache', useCache)(translatable(mix
transform: translateX(0px);
}
.fit,
#items,
#items > ::slotted(.animatable) {
position: absolute;
Expand Down Expand Up @@ -132,8 +131,10 @@ class CosmozDataNav extends hauntedPolymer('__cache', useCache)(translatable(mix
<slot id="templatesSlot"></slot>
</div>
<template id="incompleteTemplate">
<cosmoz-bottom-bar-view active incomplete class="fit">
<div slot="scroller-content">
<cosmoz-bottom-bar-view active incomplete style="position: absolute; top: 0; right: 0; bottom: 0; left: 0;">
<div slot="scroller-content"
style="display: flex; flex: 1; flex-basis: 0.000000001px; flex-direction: row; justify-content: center; align-items: center;"
>
<paper-spinner-lite active></paper-spinner-lite>
<div style="margin-left: 10px">
<h3><span>[[ _('Data is updating', t) ]]</span></h3>
Expand Down

0 comments on commit 25ec6c4

Please sign in to comment.