Просмотр исходного кода

Merge pull request #20720 from overleaf/ds-cms-bs5-blog-sidebar

CMS BS5 Migration - Update the blog sidebar to match the figma design.

GitOrigin-RevId: d5ea3917d88d78972e610b1b7c6766e441af6f37
Davinder Singh 1 год назад
Родитель
Сommit
2d737810d4

+ 31 - 0
services/web/frontend/stylesheets/bootstrap-5/pages/cms.scss

@@ -390,6 +390,37 @@
   }
 }
 
+.sidebar-blog {
+  .card-body {
+    padding: var(--spacing-06) !important;
+
+    h2 {
+      @extend .h5;
+
+      padding: var(--spacing-04) var(--spacing-05);
+      margin-bottom: unset;
+    }
+
+    .tags-list {
+      padding: 0 var(--spacing-05);
+      margin-bottom: 0 !important;
+
+      a {
+        text-decoration: none;
+      }
+    }
+
+    .sidebar-register-container {
+      margin-top: var(--spacing-05);
+
+      a {
+        margin-top: var(--spacing-02);
+        margin-left: var(--spacing-05);
+      }
+    }
+  }
+}
+
 .contact-form-error-container {
   padding-bottom: var(--spacing-08);
 }

+ 1 - 0
services/web/locales/en.json

@@ -1868,6 +1868,7 @@
   "showing_x_results": "Showing __x__ results",
   "showing_x_results_of_total": "Showing __x__ results of __total__",
   "sign_up": "Sign up",
+  "sign_up_for_free_account": "Sign up for a free account and receive regular updates",
   "simple_search_mode": "Simple search",
   "single_sign_on_sso": "Single Sign-On (SSO)",
   "site_description": "An online LaTeX editor that’s easy to use. No installation, real-time collaboration, version control, hundreds of LaTeX templates, and more.",