Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Maják
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
Container registry
Model registry
Operate
Environments
Monitor
Incidents
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TO
Maják
Commits
71440fdd
Commit
71440fdd
authored
2 years ago
by
Štěpán Farka
Browse files
Options
Downloads
Patches
Plain Diff
[FIX] height of image
parent
ac522999
Branches
Branches containing commit
No related tags found
2 merge requests
!625
Release
,
!620
image resolution fixes
Pipeline
#9767
passed
2 years ago
Stage: build
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
main/styleguide/source/_patterns/molecules/articles/main-article-preview.mustache
+1
-1
1 addition, 1 deletion
...patterns/molecules/articles/main-article-preview.mustache
main/templates/main/blocks/news_block.html
+1
-1
1 addition, 1 deletion
main/templates/main/blocks/news_block.html
with
2 additions
and
2 deletions
main/styleguide/source/_patterns/molecules/articles/main-article-preview.mustache
+
1
−
1
View file @
71440fdd
<div
class=
"flex flex-wrap mb-5 lg:mb-10"
>
<a
href=
"#"
>
<img
src=
"https://i.picsum.photos/id/361/576/576.jpg?hmac=kb62KiZkyDuigb46DUJQd7QvQM6LfYFolTdIMwEqei4"
alt=
""
class=
"lg:max-w-lg lg:mr-11
h-fit
"
>
class=
"lg:max-w-lg lg:mr-11"
>
</a>
<div
class=
"flex flex-col max-w-xl items-start"
>
<span
class=
"text-green-500 head-3xl mt-10 mb-4 lg:mb-8"
>
2.3.2022
</span>
...
...
This diff is collapsed.
Click to expand it.
main/templates/main/blocks/news_block.html
+
1
−
1
View file @
71440fdd
...
...
@@ -9,7 +9,7 @@
<div
class=
"flex flex-wrap mb-5 lg:mb-10"
>
{% image article_main.image fill-576x576 as article_img %}
<a
href=
"{{ article_main.url }}"
>
<img
src=
"{{ article_img.url }}"
draggable=
"false"
alt=
""
class=
"lg:max-w-lg lg:mr-11
h-fit
"
>
<img
src=
"{{ article_img.url }}"
draggable=
"false"
alt=
""
class=
"lg:max-w-lg lg:mr-11"
>
</a>
<div
class=
"flex flex-col max-w-xl items-start"
>
<span
class=
"text-green-500 head-3xl mt-10 mb-4 lg:mb-8"
>
{{ article_main.date }}
</span>
...
...
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