diff options
author | Florian Zschocke <f.zschocke+git@gmail.com> | 2022-12-05 17:51:04 +0100 |
---|---|---|
committer | Florian Zschocke <f.zschocke+git@gmail.com> | 2022-12-05 17:51:04 +0100 |
commit | 3d2ade67b7af01bace1da630dc91d6fd2f4f3313 (patch) | |
tree | 64986c8f9299d77021a5782c4f23e6a46a32c3ef /src/main/java/com | |
parent | 60df2321a6f5c5ea18f1d38b4d26291f0ece6012 (diff) | |
download | gitblit-3d2ade67b7af01bace1da630dc91d6fd2f4f3313.tar.gz gitblit-3d2ade67b7af01bace1da630dc91d6fd2f4f3313.zip |
fix: Correct misaligned images in primary repository URL display
Adding style element `max-width:inherit` as suggested by @piradix, which
makes the access restriction icon be part of the URL box again.
This fixes #1437
Diffstat (limited to 'src/main/java/com')
-rw-r--r-- | src/main/java/com/gitblit/wicket/panels/RepositoryUrlPanel.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/com/gitblit/wicket/panels/RepositoryUrlPanel.html b/src/main/java/com/gitblit/wicket/panels/RepositoryUrlPanel.html index e4b7427a..75756132 100644 --- a/src/main/java/com/gitblit/wicket/panels/RepositoryUrlPanel.html +++ b/src/main/java/com/gitblit/wicket/panels/RepositoryUrlPanel.html @@ -13,7 +13,7 @@ <wicket:fragment wicket:id="repositoryUrlFragment">
<div class="btn-toolbar" style="margin: 0px;">
<div class="btn-group repositoryUrlContainer tooltipped tooltipped-w">
- <img style="vertical-align: middle;padding: 0px 0px 1px 3px;" wicket:id="accessRestrictionIcon"></img>
+ <img style="max-width:inherit; vertical-align: middle;padding: 0px 0px 1px 3px;" wicket:id="accessRestrictionIcon"></img>
<span wicket:id="menu"></span>
<div class="repositoryUrl">
<span wicket:id="primaryUrl">[repository primary url]</span>
@@ -89,7 +89,7 @@ <!-- JavaScript automatic copy to clipboard -->
<wicket:fragment wicket:id="clippyPanel">
- <img class="ctcbtn" wicket:id="copyIcon" wicket:message="title:gb.copyToClipboard" />
+ <img class="ctcbtn" style="max-width:inherit;" wicket:id="copyIcon" wicket:message="title:gb.copyToClipboard" />
</wicket:fragment>
<wicket:fragment wicket:id="workingCopyFragment">
|