这是indexloc提供的服务,不要输入任何密码
Skip to content
Discussion options

You must be logged in to vote
  1. 强制换行
diff --git a/include/style/widget.styl b/include/style/widget.styl
index b97231f..e75b25f 100644
--- a/include/style/widget.styl
+++ b/include/style/widget.styl
@@ -13,6 +13,9 @@
             .level-left, .level-right
                 align-items: flex-start
 
+            .level-item
+                overflow: anywhere
+
         .tag
             background: $light-grey
             color: $white-inver
  1. 或者隐藏超出部分
diff --git a/include/style/widget.styl b/include/style/widget.styl
index b97231f..086f995 100644
--- a/include/style/widget.styl
+++ b/include/style/widget.styl
@@ -6,6 +6,7 @@
 
         .level
             margin-bottom: 0
+            overflow: hidden
 
             .…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by SGSGsama
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants