瀏覽代碼

Fix logo not showing in background

JC Brand 2 年之前
父節點
當前提交
c38c706079
共有 2 個文件被更改,包括 12 次插入8 次删除
  1. 11 8
      src/shared/styles/background.scss
  2. 1 0
      webpack/webpack.build.js

+ 11 - 8
src/shared/styles/background.scss

@@ -32,6 +32,17 @@
             word-spacing: 5px;
         }
     }
+
+    @media screen and (max-width: $mobile-portrait-length) {
+        .converse-brand {
+            display: none;
+        }
+    }
+    @include media-breakpoint-down(sm) {
+        .converse-brand {
+            display: none;
+        }
+    }
 }
 
 .converse-fullscreen {
@@ -115,11 +126,3 @@
         }
     }
 }
-
-@include media-breakpoint-down(m) {
-    #conversejs-bg {
-        .converse-brand {
-            display: none;
-        }
-    }
-}

+ 1 - 0
webpack/webpack.build.js

@@ -21,6 +21,7 @@ const plugins = [
             {from: 'logo/conversejs-filled-192.svg', to: 'images/logo'},
             {from: 'logo/conversejs-filled-512.svg', to: 'images/logo'},
             {from: 'logo/conversejs-filled.svg', to: 'images/logo'},
+            {from: 'logo/conversejs-gold-gradient.svg', to: 'images/logo'},
             {from: 'src/shared/styles/webfonts', to: 'webfonts'}
         ]
     }),