Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
m4lab_tv1
Project Page
Commits
8e981f5f
Commit
8e981f5f
authored
Oct 19, 2021
by
Athanasios
Browse files
Card title and body have fixed height
parent
afdd96ec
Changes
1
Show whitespace changes
Inline
Side-by-side
views/DE/project/projectList.pug
View file @
8e981f5f
...
...
@@ -11,7 +11,7 @@ html(lang="de")
.title-container {
position: relative;
color: white;
height:
60%
;
height:
12rem
;
overflow: hidden;
}
.card-title-bottom-left {
...
...
@@ -40,6 +40,12 @@ html(lang="de")
width: 100%;
height: 100%;
}
.clamp-lines {
display: -webkit-box;
-webkit-line-clamp: 6;
-webkit-box-orient: vertical;
overflow: hidden;
}
body
div(class="container")
div(class="row")
...
...
@@ -69,7 +75,7 @@ html(lang="de")
div(class="card-img-bg" style=`background-image: url(${item.logo});`)
img(class="card-img-top", src=item.logo)
h5(class="card-title-bottom-left") #{item.name}
div(class="card-body")
div(class="card-body
-fixed-height
")
div(class="row")
each key in item.keywords
h6
...
...
@@ -77,7 +83,7 @@ html(lang="de")
|
div(class="row")
div(class="col-9")
p(class="card-text") #{item.desc}
p(class="card-text
clamp-lines
") #{item.desc}
a(href=item.weburl, class="no_text_decoration stretched-link", target="_blank")
| </div>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment