card-img類削除、.cardにoverflow付与
This commit is contained in:
parent
c4768ded38
commit
733e97bc58
@ -1,4 +1,6 @@
|
||||
.link-card {
|
||||
overflow: hidden;
|
||||
|
||||
.row > div {
|
||||
max-height: 400px;
|
||||
overflow: hidden;
|
||||
|
11
resources/assets/sass/tissue.css
vendored
11
resources/assets/sass/tissue.css
vendored
@ -78,14 +78,3 @@
|
||||
max-width: calc(100vw - 5em);
|
||||
}
|
||||
|
||||
.card-img-left {
|
||||
width: 100%;
|
||||
border-top-left-radius: calc(.25rem - 1px);
|
||||
border-bottom-left-radius: calc(.25rem - 1px);
|
||||
}
|
||||
|
||||
.card-img-right {
|
||||
width: 100%;
|
||||
border-top-right-radius: calc(.25rem - 1px);
|
||||
border-bottom-right-radius: calc(.25rem - 1px);
|
||||
}
|
@ -2,7 +2,7 @@
|
||||
<a class="text-dark card-link" href="{{ $link }}" target="_blank" rel="noopener">
|
||||
<div class="row no-gutters">
|
||||
<div class="col-12 col-md-6 justify-content-center align-items-center">
|
||||
<img src="" alt="Thumbnail" class="card-img-left bg-secondary">
|
||||
<img src="" alt="Thumbnail" class="w-100 bg-secondary">
|
||||
</div>
|
||||
<div class="col-12 col-md-6">
|
||||
<div class="card-body">
|
||||
|
Loading…
Reference in New Issue
Block a user