From 9caf8d85c8bd128f54d68da76ff36e1d967f1a58 Mon Sep 17 00:00:00 2001 From: Dreamacro <305009791@qq.com> Date: Sun, 29 Dec 2019 21:31:42 +0800 Subject: [PATCH] Feature: proxy name can display with 2 lines --- src/containers/Proxies/components/Proxy/style.scss | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/containers/Proxies/components/Proxy/style.scss b/src/containers/Proxies/components/Proxy/style.scss index c95a7b6..6dfcf7f 100644 --- a/src/containers/Proxies/components/Proxy/style.scss +++ b/src/containers/Proxies/components/Proxy/style.scss @@ -20,14 +20,14 @@ } .proxy-name { - max-height: 30px; + display: -webkit-box; margin-top: 10px; color: $color-primary-darken; font-size: 10px; overflow: hidden; - word-break: keep-all; - white-space: nowrap; - text-overflow: ellipsis; + word-break: break-word; + -webkit-line-clamp: 2; + -webkit-box-orient: vertical; } .proxy-delay {