You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@answer.apache.org by sh...@apache.org on 2025/05/30 02:57:42 UTC

(answer) branch feat/1.6.1/md created (now 3ce9dfb1)

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

shuai pushed a change to branch feat/1.6.1/md
in repository https://gitbox.apache.org/repos/asf/answer.git


      at 3ce9dfb1 fix: optimization hr's style

This branch includes the following new commits:

     new 3ce9dfb1 fix: optimization hr's style

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(answer) 01/01: fix: optimization hr's style

Posted by sh...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

shuai pushed a commit to branch feat/1.6.1/md
in repository https://gitbox.apache.org/repos/asf/answer.git

commit 3ce9dfb10f4ad98799e287928f837f083044f07e
Author: shuai <li...@sifou.com>
AuthorDate: Fri May 30 10:57:15 2025 +0800

    fix: optimization hr's style
---
 ui/src/index.scss | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/ui/src/index.scss b/ui/src/index.scss
index 97aa7b1f..b299a993 100644
--- a/ui/src/index.scss
+++ b/ui/src/index.scss
@@ -208,6 +208,39 @@ img[src=''] {
 
 .fmt {
   width: 100%;
+  hr {
+    height: 1.5rem;
+    border: none;
+    position: relative;
+    overflow: visible;
+    text-align: center;
+    opacity: 1;
+    flex: none;
+    &::before {
+      content: '';
+      position: absolute;
+      left: 50%;
+      top: 50%;
+      transform: translate(calc(-50% - 16px), -50%);
+      width: 3px;
+      height: 3px;
+      background-color: var(--bs-border-color);
+      border-radius: 50%;
+    }
+
+    &::after {
+      content: '';
+      position: absolute;
+      left: 50%;
+      top: 50%;
+      transform: translate(-50%, -50%);
+      width: 3px;
+      height: 3px;
+      background-color: var(--bs-border-color);
+      border-radius: 50%;
+      box-shadow: 16px 0 0 var(--bs-border-color);
+    }
+  }
   h1 {
     @extend .fs-3;
     margin-top: 2rem;