From cd56e1bff32804dd0343c99eaaf2c7f35c84f46d Mon Sep 17 00:00:00 2001 From: shibafu Date: Sat, 9 Mar 2019 01:34:58 +0900 Subject: [PATCH] =?UTF-8?q?=E3=83=A1=E3=82=BF=E3=83=87=E3=83=BC=E3=82=BF?= =?UTF-8?q?=E3=81=AEdescription=E3=81=AB=E5=90=AB=E3=81=BE=E3=82=8C?= =?UTF-8?q?=E3=82=8B=E6=94=B9=E8=A1=8C=E3=82=92=E8=A1=A8=E7=A4=BA=E3=81=AB?= =?UTF-8?q?=E5=8F=8D=E6=98=A0=E3=81=99=E3=82=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit refs #87 --- resources/assets/sass/tissue.css | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/resources/assets/sass/tissue.css b/resources/assets/sass/tissue.css index f7dfd0c..6f5d485 100644 --- a/resources/assets/sass/tissue.css +++ b/resources/assets/sass/tissue.css @@ -96,4 +96,24 @@ width: 100%; border-top-right-radius: calc(.25rem - 1px); border-bottom-right-radius: calc(.25rem - 1px); +} + +.link-card .row > div:last-child { + max-height: 400px; + overflow: hidden; +} + +/* 省略を表す影を付けるやつ */ +.link-card .row > div:last-child::before { + content: ''; + width: 100%; + height: 100%; + position: absolute; + left: 0; + top: 0; + background: linear-gradient(transparent 320px, white); +} + +.link-card .card-text { + white-space: pre-line; } \ No newline at end of file