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
153aa0d0
Commit
153aa0d0
authored
1 year ago
by
Tomáš Valenta
Browse files
Options
Downloads
Patches
Plain Diff
fix sizing
parent
25b0cf05
Branches
Branches containing commit
No related tags found
2 merge requests
!912
fix sizing
,
!911
Fix image sizing
Pipeline
#16472
passed
1 year ago
Stage: build
Changes
2
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
donate/static/donate/assets/css/style.css
+4
-2
4 additions, 2 deletions
donate/static/donate/assets/css/style.css
shared/image_formats.py
+1
-1
1 addition, 1 deletion
shared/image_formats.py
with
5 additions
and
3 deletions
donate/static/donate/assets/css/style.css
+
4
−
2
View file @
153aa0d0
...
@@ -1264,8 +1264,10 @@ img.full-width {
...
@@ -1264,8 +1264,10 @@ img.full-width {
-o-object-fit
:
contain
-o-object-fit
:
contain
}
}
.h-max
{
@media
screen
and
(
max-width
:
991px
)
{
height
:
max-content
;
.lg
\
:h-max
{
height
:
max-content
;
}
}
}
/* END TailwindCSS-based image formatting */
/* END TailwindCSS-based image formatting */
This diff is collapsed.
Click to expand it.
shared/image_formats.py
+
1
−
1
View file @
153aa0d0
...
@@ -4,7 +4,7 @@ register_image_format(
...
@@ -4,7 +4,7 @@ register_image_format(
Format
(
Format
(
"
tailwind_center_800
"
,
"
tailwind_center_800
"
,
"
šablona: Uprostřed (max 800px)
"
,
"
šablona: Uprostřed (max 800px)
"
,
"
w-full mx-auto my-6 object-contain h-max
"
,
"
w-full mx-auto my-6 object-contain h-max
lg:h-max
"
,
"
max-800x800
"
,
"
max-800x800
"
,
)
)
)
)
...
...
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