From 05158dd01b00f38e2eb14f6b067abeb2bf0d5e99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=87=E5=A4=A9?= Date: Sun, 2 Feb 2020 00:21:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81=E5=9D=97?= =?UTF-8?q?=E7=BB=84=E4=BB=B6=E7=9A=84=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/code/index.wc | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/src/code/index.wc b/src/code/index.wc index f8f8f29..c5fe641 100644 --- a/src/code/index.wc +++ b/src/code/index.wc @@ -3,8 +3,8 @@
- - + +
@@ -20,9 +20,9 @@ display: flex; flex-direction: column; position: relative; - width: 400px; + width: 100%; min-height: 88px; - max-height: 210px; + max-height: 610px; border: 1px solid nth($cp, 2); border-radius: 2px; @@ -54,6 +54,8 @@ } .act { + --size: 16px; + margin: 0 2px; color: nth($cgr, 2); cursor: pointer; @@ -82,9 +84,8 @@ position: relative; min-height: 18px; padding: 0 8px 0 45px; - white-space: nowrap; - // white-space: pre-wrap; - // word-wrap: break-word; + white-space: pre-wrap; + word-wrap: break-word; &::before { position: absolute;