diff options
author | Andrew Dolgov <[email protected]> | 2023-03-01 21:41:52 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2023-03-01 21:41:52 +0300 |
commit | b7a6c948d078a59739f14de8454e0e7237d0722e (patch) | |
tree | b9f6b39b13daec451dead546bf6ddde7a40be764 /themes/light | |
parent | 04c2fa9f156931cd4f7c3dcf468c110169f76459 (diff) |
tags display: instead of limiting to 5 tags, limit by container width %
Diffstat (limited to 'themes/light')
-rw-r--r-- | themes/light/cdm.less | 7 | ||||
-rw-r--r-- | themes/light/tt-rss.less | 7 |
2 files changed, 14 insertions, 0 deletions
diff --git a/themes/light/cdm.less b/themes/light/cdm.less index 05ba3c99a..bf677decf 100644 --- a/themes/light/cdm.less +++ b/themes/light/cdm.less @@ -79,6 +79,13 @@ font-size : @font-size-small; font-weight : normal; } + + .tags { + max-width : 50%; + overflow : hidden; + white-space : nowrap; + text-overflow : ellipsis; + } } .footer { diff --git a/themes/light/tt-rss.less b/themes/light/tt-rss.less index 1f1242f6b..3896665c8 100644 --- a/themes/light/tt-rss.less +++ b/themes/light/tt-rss.less @@ -56,6 +56,13 @@ body.ttrss_main { font-family : @fonts-ui; word-break : break-all; } + + .tags { + max-width : 25%; + overflow : hidden; + white-space : nowrap; + text-overflow : ellipsis; + } } div.content { |