From 7a5a82b617a20586614248cb8c38aacb48ff3143 Mon Sep 17 00:00:00 2001 From: maxpozdeev Date: Sat, 19 Nov 2022 21:29:58 +0300 Subject: [PATCH] fix right padding for long names in tabs --- src/content/theme/style.css | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/content/theme/style.css b/src/content/theme/style.css index 24c9cc9..ee764f2 100644 --- a/src/content/theme/style.css +++ b/src/content/theme/style.css @@ -285,7 +285,18 @@ select.form-input { box-sizing:border-box; height:2.2rem; padding:1px 0.3rem 0 0.3rem; display:flex; align-items:center; } .mtt-tab a:active { outline:0; text-decoration:none; } -.mtt-tab a>span { display:inline-block; text-align:center; min-width:75px; max-width:195px; cursor:pointer; padding:0; overflow:hidden; padding-left:0.3rem; padding-right:0.3rem;} +.mtt-tab a>span { + display:inline-block; + text-align:center; + min-width:75px; + max-width:195px; + cursor:pointer; + padding:0; + overflow:hidden; + text-overflow: ellipsis; + margin-left:0.3rem; + margin-right:0.3rem; +} .mtt-tab .list-action { display:none; } .mtt-tab .mtt-img-button:hover, .mtt-tab .mtt-img-button.mtt-menu-button-active {