Pārlūkot izejas kodu

fix: logo not showing in background

JC Brand 1 nedēļu atpakaļ
vecāks
revīzija
d76d825f9c

+ 5 - 3
src/plugins/rootview/styles/background.scss

@@ -65,13 +65,15 @@ converse-bg {
             font-size: 6em;
             @include make-col(10);
         }
+        converse-logo {
+            height: 2em;
+            display: flex;
+            margin-top: 0.4em;
+        }
         padding: 0;
         padding-top: 15%;
         display: flex;
         justify-content: center;
         margin: auto;
-        svg {
-            margin-top: 0.4em;
-        }
     }
 }

+ 1 - 1
src/plugins/rootview/templates/background_logo.js

@@ -20,7 +20,7 @@ export default (el) => html`
               </section>`
             : ''
     } ${
-        el.getAttribute('logo')
+        el.hasAttribute('logo')
             ? html`
                   <div class="inner-content converse-brand row">
                       <div class="converse-brand__heading">