diff options
author | silverwind <me@silverwind.io> | 2020-08-23 21:05:17 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-23 20:05:17 +0100 |
commit | dd8ec121880fda03691cf9f4b17be88e1d4be030 (patch) | |
tree | c6379e584b2a3b57ee9ef00d59ca1151d6b5294c /web_src | |
parent | d2cee3eea60cd0e459e665dad289b2c5adc1a2a5 (diff) | |
download | gitea-dd8ec121880fda03691cf9f4b17be88e1d4be030.tar.gz gitea-dd8ec121880fda03691cf9f4b17be88e1d4be030.zip |
Increase clickable area on files table links (#12553)
Diffstat (limited to 'web_src')
-rw-r--r-- | web_src/less/_repository.less | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/web_src/less/_repository.less b/web_src/less/_repository.less index becc2e216a..eb316ee71e 100644 --- a/web_src/less/_repository.less +++ b/web_src/less/_repository.less @@ -345,8 +345,8 @@ } td { - padding-top: 8px; - padding-bottom: 8px; + padding-top: 0; + padding-bottom: 0; overflow: initial; &.name { @@ -361,14 +361,19 @@ width: 120px; } - .truncate { + > a { + width: calc(100% - 8px); /* prevent overflow into adjacant cell */ display: inline-block; - max-width: 100%; + padding-top: 8px; + padding-bottom: 8px; overflow: hidden; text-overflow: ellipsis; - vertical-align: top; white-space: nowrap; } + + > * { + vertical-align: middle; + } } td.message .isSigned { |