From 2fca02a3c810d3302a45fe4aeea3200482b98c85 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Mon, 6 Jan 2020 15:42:51 +0100 Subject: [PATCH] Limit text length of pref default value, prevents horizontal scrollbar --- preferences/templates/default/app.css | 3 +++ preferences/templates/pixelegg/app.css | 3 +++ 2 files changed, 6 insertions(+) diff --git a/preferences/templates/default/app.css b/preferences/templates/default/app.css index fb406911ae..5c793bb8e4 100644 --- a/preferences/templates/default/app.css +++ b/preferences/templates/default/app.css @@ -56,6 +56,9 @@ tr.prefRow:hover .prefHelp { .prefDefault { float: right; width:48%; + overflow-x: hidden; + text-overflow: ellipsis; + max-width: 300px; } .prefValue textarea, textarea.prefValue { width: 99%; diff --git a/preferences/templates/pixelegg/app.css b/preferences/templates/pixelegg/app.css index 60864e63d7..15f13619a8 100755 --- a/preferences/templates/pixelegg/app.css +++ b/preferences/templates/pixelegg/app.css @@ -73,6 +73,9 @@ tr.prefRow:hover .prefHelp { .prefDefault { float: right; width: 48%; + overflow-x: hidden; + text-overflow: ellipsis; + max-width: 300px; } .prefValue textarea, textarea.prefValue {