diff options
author | zeripath <art27@cantab.net> | 2020-10-03 00:10:43 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-02 19:10:43 -0400 |
commit | 5460bf89031a77ac9e0cde685c1bff00c29ee883 (patch) | |
tree | acaedf65ef2d994e4f3825fd1ee23e1a9e179411 /web_src | |
parent | 45727c32c3faeedf253f0f5209e50652ad5a3939 (diff) | |
download | gitea-5460bf89031a77ac9e0cde685c1bff00c29ee883.tar.gz gitea-5460bf89031a77ac9e0cde685c1bff00c29ee883.zip |
Fix formatting of branches ahead-behind on narrow windows (#12989)
Make the bar-groups width 50% with max-width of 90px
Fix #12252
Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'web_src')
-rw-r--r-- | web_src/less/_repository.less | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/web_src/less/_repository.less b/web_src/less/_repository.less index 25aa332a92..9882b03453 100644 --- a/web_src/less/_repository.less +++ b/web_src/less/_repository.less @@ -1399,7 +1399,8 @@ position: relative; float: left; padding-bottom: 6px; - width: 90px; + width: 50%; + max-width: 90px; &:last-child { border-left: 1px solid #b4b4b4; |