diff options
| author | horus | 2018-06-18 15:54:46 +0200 |
|---|---|---|
| committer | horus | 2018-06-18 15:54:46 +0200 |
| commit | 88a2628258eb5ea79736338637ab8b5b83680c92 (patch) | |
| tree | 358f42ea14d417f8c5018a3f64f002d6414cd9ac /site/resources | |
| parent | ae873c6dbd8ee11e0d8beb88d76c8bf4258286b6 (diff) | |
| download | alkobote-88a2628258eb5ea79736338637ab8b5b83680c92.tar.gz | |
Fix card-overlay problem with links. (website)
Diffstat (limited to 'site/resources')
| -rw-r--r-- | site/resources/views/feeds.blade.php | 2 | ||||
| -rw-r--r-- | site/resources/views/index.blade.php | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/site/resources/views/feeds.blade.php b/site/resources/views/feeds.blade.php index 5ab6bb5..e4b4aca 100644 --- a/site/resources/views/feeds.blade.php +++ b/site/resources/views/feeds.blade.php @@ -65,7 +65,7 @@ foreach( $data as $offer) { </a> </h3> - <a class="w-100 u" href="/{{ $offer->url }}" style="word-wrap: none;">{{ $offer->linktext }}</a> + <a class="w-100 u card-link" href="/{{ $offer->url }}" style="word-wrap: none;">{{ $offer->linktext }}</a> </div> </a> <img {{ $width }} data-href="/{{ $offer->url }}" class="card-img-right border-white img-thumbnail d-none d-xs-none d-md-block float-right img-responsive js-link-replacement" src="{{ $offer->image_url }}" alt="{{ $offer->name }}" title="{{ $offer->name }}"> diff --git a/site/resources/views/index.blade.php b/site/resources/views/index.blade.php index 1b60c43..7eb501f 100644 --- a/site/resources/views/index.blade.php +++ b/site/resources/views/index.blade.php @@ -70,13 +70,14 @@ if ( empty($data) ) { <div class="col-md-6 col-sm-12" id="{{ $offer->name }}"> <div class="card flex-md-row mb-4 box-shadow h-md-250 h-sm-500"> - <img class="card-img-top flex-auto d-xs-block d-sm-block img-thumbnail d-md-none" src="{{ $offer->image_url }}" alt="{{ $offer->name }}" title="{{ $offer->name }}"> + <img class="rounded card-img-top flex-auto d-xs-block d-sm-block img-thumbnail d-md-none" src="{{ $offer->image_url }}" alt="{{ $offer->name }}" title="{{ $offer->name }}"> <div class="card-body d-flex flex-column align-items-start"> + <div class="d-inline align-items-start text-left w-100 mb-2"> <strong class="text-dark">{{ $offer->spirit_type }}</strong> </div> <h3 class="mb-0 d-inline-block h-100"> - <a class="text-dark" href="/{{ $offer->url }}"> + <a class="text-dark card-link" href="/{{ $offer->url }}"> Hier geht es zu den {{ $offer->angebotsname }} </a> </h3> |
