From 92726ba47c31a949f6007580b559ff8cacd398fc Mon Sep 17 00:00:00 2001 From: Rosanny <rosanny.sihombing@hft-stuttgart.de> Date: Wed, 29 Sep 2021 15:37:41 +0200 Subject: [PATCH] MLAB-587: make the whole card clickable --- views/DE/project/pagesList.pug | 7 ++----- views/DE/project/projectList.pug | 7 ++----- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/views/DE/project/pagesList.pug b/views/DE/project/pagesList.pug index 29ccdf7..dad14fe 100644 --- a/views/DE/project/pagesList.pug +++ b/views/DE/project/pagesList.pug @@ -46,7 +46,7 @@ html(lang="de") | <div class="row"> for item in pages div(class="card-deck py-4 col-sm") - div(class="card width_18") + div(class="card width_18" style="transform: rotate(0);") div(class="title-container") h5(class="card-title-bottom-left") #{item.name} img(class="card-img-top", src=item.logo) @@ -59,10 +59,7 @@ html(lang="de") div(class="row") div(class="col-9") p(class="card-text") #{item.desc} - a(href=item.weburl, class="no_text_decoration", target="_blank") - div(class="col-3") - svg(class="bi bi-chevron-right", width="32", height="32", viewBox="0 0 20 20", fill="black", xmlns="http://www.w3.org/2000/svg") - | <path fill-rule="evenodd" d="M6.646 3.646a.5.5 0 01.708 0l6 6a.5.5 0 010 .708l-6 6a.5.5 0 01-.708-.708L12.293 10 6.646 4.354a.5.5 0 010-.708z"></path> + a(href=item.weburl, class="no_text_decoration stretched-link", target="_blank") | </div> // jQuery diff --git a/views/DE/project/projectList.pug b/views/DE/project/projectList.pug index 61aa995..8137351 100644 --- a/views/DE/project/projectList.pug +++ b/views/DE/project/projectList.pug @@ -46,7 +46,7 @@ html(lang="de") | <div class="row"> for item in project div(class="card-deck py-4 col-sm") - div(class="card width_18") + div(class="card width_18" style="transform: rotate(0);") div(class="title-container") h5(class="card-title-bottom-left") #{item.name} img(class="card-img-top", src=item.logo) @@ -59,10 +59,7 @@ html(lang="de") div(class="row") div(class="col-9") p(class="card-text") #{item.desc} - a(href=item.weburl, class="no_text_decoration", target="_blank") - div(class="col-3") - svg(class="bi bi-chevron-right", width="32", height="32", viewBox="0 0 20 20", fill="black", xmlns="http://www.w3.org/2000/svg") - | <path fill-rule="evenodd" d="M6.646 3.646a.5.5 0 01.708 0l6 6a.5.5 0 010 .708l-6 6a.5.5 0 01-.708-.708L12.293 10 6.646 4.354a.5.5 0 010-.708z"></path> + a(href=item.weburl, class="no_text_decoration stretched-link", target="_blank") | </div> // jQuery -- GitLab