Limit text length of pref default value, prevents horizontal scrollbar

This commit is contained in:
Hadi Nategh 2020-01-06 15:42:51 +01:00
parent c58601d830
commit 2fca02a3c8
2 changed files with 6 additions and 0 deletions

View File

@ -56,6 +56,9 @@ tr.prefRow:hover .prefHelp {
.prefDefault { .prefDefault {
float: right; float: right;
width:48%; width:48%;
overflow-x: hidden;
text-overflow: ellipsis;
max-width: 300px;
} }
.prefValue textarea, textarea.prefValue { .prefValue textarea, textarea.prefValue {
width: 99%; width: 99%;

View File

@ -73,6 +73,9 @@ tr.prefRow:hover .prefHelp {
.prefDefault { .prefDefault {
float: right; float: right;
width: 48%; width: 48%;
overflow-x: hidden;
text-overflow: ellipsis;
max-width: 300px;
} }
.prefValue textarea, .prefValue textarea,
textarea.prefValue { textarea.prefValue {