فهرست منبع

Merge pull request #21027 from overleaf/ds-gallery-redesign-no-articles-found-3

Gallery redesign - Updating the tagged page with no articles found

GitOrigin-RevId: dfddfa29c84520093a35fec5017b4ad09634b617
Davinder Singh 2 سال پیش
والد
کامیت
43965828c8
1فایلهای تغییر یافته به همراه26 افزوده شده و 1 حذف شده
  1. 26 1
      services/web/frontend/stylesheets/bootstrap-5/pages/templates-v2.scss

+ 26 - 1
services/web/frontend/stylesheets/bootstrap-5/pages/templates-v2.scss

@@ -1,3 +1,14 @@
+.gallery.gallery-tagged {
+  .gallery-title {
+    display: block;
+    text-align: left;
+  }
+
+  .gallery-summary {
+    text-align: left;
+  }
+}
+
 .gallery {
   margin-top: var(--spacing-10);
 
@@ -49,7 +60,7 @@
     @include body-lg;
 
     text-align: center;
-    margin-bottom: var(--spacing-08);
+    margin-bottom: var(--spacing-09);
   }
 
   .top-picks-banner.container {
@@ -66,6 +77,20 @@
     }
   }
 
+  .no-articles-matching {
+    color: var(--neutral-90);
+    font-weight: 600;
+
+    @include heading-lg;
+  }
+
+  .template-summary {
+    margin-top: var(--spacing-02);
+    margin-bottom: var(--spacing-09);
+
+    @include body-lg;
+  }
+
   @mixin text-overflow {
     text-overflow: ellipsis;
     overflow: hidden;