You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by bz...@apache.org on 2022/08/10 10:07:48 UTC

[apisix-website] branch master updated: fix: style of first item style in list page (#1281)

This is an automated email from the ASF dual-hosted git repository.

bzp2010 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix-website.git


The following commit(s) were added to refs/heads/master by this push:
     new a3e8914d475 fix: style of first item style in list page (#1281)
a3e8914d475 is described below

commit a3e8914d475c4b418171b209a0bc92d5d9354b50
Author: Young <is...@outlook.com>
AuthorDate: Wed Aug 10 18:07:44 2022 +0800

    fix: style of first item style in list page (#1281)
---
 blog/src/theme/BlogPosts/style.module.scss | 17 +++++++++++++----
 1 file changed, 13 insertions(+), 4 deletions(-)

diff --git a/blog/src/theme/BlogPosts/style.module.scss b/blog/src/theme/BlogPosts/style.module.scss
index f2f0cca0122..16c34fa6964 100644
--- a/blog/src/theme/BlogPosts/style.module.scss
+++ b/blog/src/theme/BlogPosts/style.module.scss
@@ -6,16 +6,25 @@
   display: flex;
   filter: none;
   margin-top: 0;
+  margin-bottom: 6rem;
+  align-items: center;
 
   & > a {
     border-radius: 1rem;
-    width: 601px;
-    height: auto;
+    width: fit-content;
     flex-shrink: 0;
+    
+    span {
+      display: block !important;
+      width: fit-content !important;
+      height: fit-content !important;
+    }
 
     img {
-      height: 100%;
-      width: 100%;
+      display: block;
+      width: 605px;
+      height: auto;
+      transition: all 0.25s ease-in-out;
     }
   }