Improve the avatar load in flicker

Since there is a delay between the background image loading and the
initial element being displayed, providing a background color makes it
seem like something is "supposed" to be there, thus making the load in
experience less jarring.

Change-Id: Ie0529dfb439ca02e45f94fbf197cdd388d6d41f4
This commit is contained in:
Sam Saccone
2016-02-26 08:47:00 -08:00
committed by Sam Saccone
parent 46c5b47148
commit 8dc006ce0f

View File

@@ -23,6 +23,7 @@ limitations under the License.
display: inline-block;
border-radius: 50%;
background-size: cover;
background-color: var(--background-color, #f1f2f3);
}
</style>
</template>