Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
hifis.net
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
HIFIS
Overall
hifis.net
Commits
80ac1703
Verified
Commit
80ac1703
authored
3 years ago
by
Huste, Tobias
Browse files
Options
Downloads
Patches
Plain Diff
Fix layout of the cards on the guidelines page
parent
8084db3a
No related branches found
Branches containing commit
No related tags found
3 merge requests
!203
WIP: Test MR
,
!197
Fix layout of the cards on the guidelines page
,
!177
HIFIS unified step 1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
_includes/cards/post_card_image.html
+1
-1
1 addition, 1 deletion
_includes/cards/post_card_image.html
_sass/common/_cards.scss
+5
-0
5 additions, 0 deletions
_sass/common/_cards.scss
with
6 additions
and
1 deletion
_includes/cards/post_card_image.html
+
1
−
1
View file @
80ac1703
...
...
@@ -15,7 +15,7 @@ post: The post which sould be displayed on the card
| strip
| relative_url -%}
{%- endif -%}
<div
class=
"card {{ include.class }}"
>
<div
class=
"card
top-image-card
{{ include.class }}"
>
<img
class=
"card-img-top card-img-equal"
src=
"{{ img_url }}"
alt=
"Title image"
>
<div
class=
"card-img-overlay"
>
<span
class=
"badge badge-secondary"
>
...
...
This diff is collapsed.
Click to expand it.
_sass/common/_cards.scss
+
5
−
0
View file @
80ac1703
...
...
@@ -50,6 +50,11 @@
object-fit
:
cover
;
}
.top-image-card
{
width
:
14rem
;
height
:
auto
;
}
.image-card
{
@include
drop-shadow
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment