From 8e366870b1c3ac32965891cf384c4f25f8d5e8db Mon Sep 17 00:00:00 2001 From: shibafu Date: Tue, 12 Mar 2019 20:43:34 +0900 Subject: [PATCH] =?UTF-8?q?=E3=82=AB=E3=83=BC=E3=83=89=E7=94=BB=E5=83=8F?= =?UTF-8?q?=E3=81=AE=E8=A7=92=E4=B8=B8=E3=81=AE=E4=BD=8D=E7=BD=AE=E3=82=92?= =?UTF-8?q?=E3=83=A1=E3=83=87=E3=82=A3=E3=82=A2=E3=82=AF=E3=82=A8=E3=83=AA?= =?UTF-8?q?=E3=81=A7=E5=8F=AF=E5=A4=89=E3=81=AB=E3=81=97=E3=81=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resources/assets/sass/_bootstrap-custom.scss | 10 ++++++++++ resources/views/components/link-card.blade.php | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/resources/assets/sass/_bootstrap-custom.scss b/resources/assets/sass/_bootstrap-custom.scss index a56818a..bafdd03 100644 --- a/resources/assets/sass/_bootstrap-custom.scss +++ b/resources/assets/sass/_bootstrap-custom.scss @@ -6,4 +6,14 @@ .card-img-right { width: 100%; @include border-right-radius($card-inner-border-radius); +} + +.card-img-top-to-left { + width: 100%; + @include media-breakpoint-down(md) { + @include border-top-radius($card-inner-border-radius); + } + @include media-breakpoint-up(lg) { + @include border-left-radius($card-inner-border-radius); + } } \ No newline at end of file diff --git a/resources/views/components/link-card.blade.php b/resources/views/components/link-card.blade.php index 5b99fd4..94c17f9 100644 --- a/resources/views/components/link-card.blade.php +++ b/resources/views/components/link-card.blade.php @@ -2,7 +2,7 @@
- Thumbnail + Thumbnail