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

Merge remote-tracking branch 'origin/release/current'

Yuki Takei 5 лет назад
Родитель
Сommit
1c50c0e8a0
3 измененных файлов с 11 добавлено и 5 удалено
  1. 5 1
      CHANGES.md
  2. 4 4
      src/client/styles/scss/_search.scss
  3. 2 0
      src/server/views/search.html

+ 5 - 1
CHANGES.md

@@ -27,14 +27,18 @@ Upgrading Guide: <https://docs.growi.org/en/admin-guide/upgrading/41x.html>
 * Support: Update libs
 * Support: Update libs
     * mathjax
     * mathjax
 
 
+## v4.0.11
 
 
+* Fix: Fab on search result page does not displayed
+* Fix: Adjust margin/padding for search result page
+* Fix: PageAlert broken
+    * Introduced by v4.0.9
 
 
 ## v4.0.10
 ## v4.0.10
 
 
 * Improvement: Adjust ToC height
 * Improvement: Adjust ToC height
 * Fix: Fail to rename/delete a page set as "Anyone with the link"
 * Fix: Fail to rename/delete a page set as "Anyone with the link"
 
 
-
 ## v4.0.9
 ## v4.0.9
 
 
 * Feature: Detailed configurations for OpenID Connect
 * Feature: Detailed configurations for OpenID Connect

+ 4 - 4
src/client/styles/scss/_search.scss

@@ -193,12 +193,12 @@
   }
   }
 
 
   .search-result-content {
   .search-result-content {
-    padding-bottom: 32px;
+    padding-bottom: 36px;
 
 
     .search-result-page {
     .search-result-page {
-      padding-top: 48px;
+      padding-top: 64px;
       // adjust for anchor links by the height of fixed .search-page-input
       // adjust for anchor links by the height of fixed .search-page-input
-      margin-top: -48px;
+      margin-top: -64px;
 
 
       > h2 {
       > h2 {
         margin-right: 10px;
         margin-right: 10px;
@@ -221,7 +221,7 @@
 
 
 .search-page-input {
 .search-page-input {
   position: sticky;
   position: sticky;
-  top: 65px;
+  top: 15px;
   // placed at front-most
   // placed at front-most
   z-index: 15;
   z-index: 15;
 
 

+ 2 - 0
src/server/views/search.html

@@ -12,6 +12,8 @@
 {% endblock %}
 {% endblock %}
 
 
 {% block layout_main %}
 {% block layout_main %}
+<div id="grw-fav-sticky-trigger" class="sticky-top"></div>
+
 <div class="container-fluid">
 <div class="container-fluid">
 
 
   <div class="row">
   <div class="row">