0
0
mirror of https://github.com/conventional-commits/conventionalcommits.org.git synced 2025-08-29 09:15:34 +00:00

fix: fixing welcome image overlap

This commit is contained in:
Nameer Haider 2024-10-22 20:56:40 +03:00
parent 48cecc3d87
commit 6ab8fec2b2
2 changed files with 7 additions and 1 deletions

View File

@ -9,7 +9,7 @@
{{ end }} {{ end }}
</div> </div>
{{ end }} {{ end }}
<figure class="welcome__image"> <figure class="welcome__image {{ if .Site.Language.Params.rtl }}rtl__image{{ end }}">
<img src='{{default "/img/git-flow--welcome.png"}}'> <img src='{{default "/img/git-flow--welcome.png"}}'>
</figure> </figure>
</div> </div>

View File

@ -110,5 +110,11 @@
max-height: 100%; max-height: 100%;
} }
} }
// Override for RTL layout if RTL is enabled
.rtl__image {
right: auto !important;
left: 0;
}
} }