From 420d4e508b39ed8d6d1d47bdcb90ad7fa8351391 Mon Sep 17 00:00:00 2001 From: Matt Mo Date: Sat, 12 Dec 2020 13:27:13 -0800 Subject: [PATCH] Making appbar position relative so we can use absolute positioned elements easier. --- app-bar.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/app-bar.js b/app-bar.js index f7d9a97..a72adbe 100644 --- a/app-bar.js +++ b/app-bar.js @@ -10,6 +10,7 @@ class AppBar extends IgniteElement { get styles() { return /*css*/` mt-app-bar { + position: relative; background-color: #fff; padding: 0.8em; display: flex; @@ -41,9 +42,7 @@ class AppBar extends IgniteElement { render() { return this.template .class(this.placement) - .child( - new slot(this) - ); + .child(new slot(this)); } ready() {