Minor styling for Edit on GitHub button

Signed-off-by: Alexander Borsuk <me@alex.bio>
This commit is contained in:
Alexander Borsuk 2024-07-09 15:21:11 +03:00
parent f8056c7b76
commit 9f182c04d8
2 changed files with 6 additions and 1 deletions

View file

@ -304,3 +304,8 @@ img.edit-github-icon {
height: 20px;
vertical-align: text-bottom;
}
.edit-on-github {
display: block;
margin: 1rem;
}

View file

@ -1,4 +1,4 @@
<a href="https://github.com/organicmaps/organicmaps.github.io/blob/master/content/{{ page.relative_path }}">
<a class="edit-on-github" href="https://github.com/organicmaps/organicmaps.github.io/blob/master/content/{{ page.relative_path }}">
<img src="/images/donates/github.svg" alt="GitHub Sponsors" class="edit-github-icon"/>
{{ trans(key="edit-on-github", lang=lang) }}
</a>