prevent horizontal scrolling in filter editor dialog if rules are very long
This commit is contained in:
parent
8479421da4
commit
d1ee30d1ba
|
@ -21,3 +21,4 @@ web.config
|
||||||
/.save.cson
|
/.save.cson
|
||||||
/.tags*
|
/.tags*
|
||||||
/.gutentags
|
/.gutentags
|
||||||
|
/.vscode/settings.json
|
||||||
|
|
|
@ -552,7 +552,7 @@ class Pref_Filters extends Handler_Protected {
|
||||||
|
|
||||||
return "<span class='filterRule $inverse'>" .
|
return "<span class='filterRule $inverse'>" .
|
||||||
T_sprintf("%s on %s in %s %s", htmlspecialchars($rule["reg_exp"]),
|
T_sprintf("%s on %s in %s %s", htmlspecialchars($rule["reg_exp"]),
|
||||||
$filter_type, $feed, isset($rule["inverse"]) ? __("(inverse)") : "") . "</span>";
|
"<span class='field'>$filter_type</span>", "<span class='feed'>$feed</span>", isset($rule["inverse"]) ? __("(inverse)") : "") . "</span>";
|
||||||
}
|
}
|
||||||
|
|
||||||
function printRuleName() {
|
function printRuleName() {
|
||||||
|
|
|
@ -1662,8 +1662,14 @@ body.ttrss_utility.share_popup .content {
|
||||||
position: relative;
|
position: relative;
|
||||||
top: -1px;
|
top: -1px;
|
||||||
}
|
}
|
||||||
.flat #filterDlg_Matches span.filterRule {
|
.flat #filterDlg_Matches .filterRule {
|
||||||
color: green;
|
color: green;
|
||||||
|
word-break: break-all;
|
||||||
|
}
|
||||||
|
.flat #filterDlg_Matches .filterRule .field,
|
||||||
|
.flat #filterDlg_Matches .filterRule .feed {
|
||||||
|
word-break: break-word;
|
||||||
|
font-style: italic;
|
||||||
}
|
}
|
||||||
.flat #filterTree .filterRules li.inverse,
|
.flat #filterTree .filterRules li.inverse,
|
||||||
.flat #filterDlg_Matches span.filterRule.inverse {
|
.flat #filterDlg_Matches span.filterRule.inverse {
|
||||||
|
|
|
@ -1568,8 +1568,14 @@ body.ttrss_utility fieldset > label.checkbox {
|
||||||
position: relative;
|
position: relative;
|
||||||
top: -1px;
|
top: -1px;
|
||||||
}
|
}
|
||||||
.flat #filterDlg_Matches span.filterRule {
|
.flat #filterDlg_Matches .filterRule {
|
||||||
color: green;
|
color: green;
|
||||||
|
word-break: break-all;
|
||||||
|
}
|
||||||
|
.flat #filterDlg_Matches .filterRule .field,
|
||||||
|
.flat #filterDlg_Matches .filterRule .feed {
|
||||||
|
word-break: break-word;
|
||||||
|
font-style: italic;
|
||||||
}
|
}
|
||||||
.flat #filterTree .filterRules li.inverse,
|
.flat #filterTree .filterRules li.inverse,
|
||||||
.flat #filterDlg_Matches span.filterRule.inverse {
|
.flat #filterDlg_Matches span.filterRule.inverse {
|
||||||
|
|
|
@ -1662,8 +1662,14 @@ body.ttrss_utility.share_popup .content {
|
||||||
position: relative;
|
position: relative;
|
||||||
top: -1px;
|
top: -1px;
|
||||||
}
|
}
|
||||||
.flat #filterDlg_Matches span.filterRule {
|
.flat #filterDlg_Matches .filterRule {
|
||||||
color: green;
|
color: green;
|
||||||
|
word-break: break-all;
|
||||||
|
}
|
||||||
|
.flat #filterDlg_Matches .filterRule .field,
|
||||||
|
.flat #filterDlg_Matches .filterRule .feed {
|
||||||
|
word-break: break-word;
|
||||||
|
font-style: italic;
|
||||||
}
|
}
|
||||||
.flat #filterTree .filterRules li.inverse,
|
.flat #filterTree .filterRules li.inverse,
|
||||||
.flat #filterDlg_Matches span.filterRule.inverse {
|
.flat #filterDlg_Matches span.filterRule.inverse {
|
||||||
|
|
|
@ -20,8 +20,16 @@
|
||||||
top : -1px;
|
top : -1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#filterDlg_Matches span.filterRule {
|
#filterDlg_Matches {
|
||||||
color: green;
|
.filterRule {
|
||||||
|
color: green;
|
||||||
|
word-break : break-all;
|
||||||
|
|
||||||
|
.field, .feed {
|
||||||
|
word-break : break-word;
|
||||||
|
font-style : italic;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#filterTree .filterRules li.inverse,
|
#filterTree .filterRules li.inverse,
|
||||||
|
|
|
@ -1569,8 +1569,14 @@ body.ttrss_utility fieldset > label.checkbox {
|
||||||
position: relative;
|
position: relative;
|
||||||
top: -1px;
|
top: -1px;
|
||||||
}
|
}
|
||||||
.flat #filterDlg_Matches span.filterRule {
|
.flat #filterDlg_Matches .filterRule {
|
||||||
color: green;
|
color: green;
|
||||||
|
word-break: break-all;
|
||||||
|
}
|
||||||
|
.flat #filterDlg_Matches .filterRule .field,
|
||||||
|
.flat #filterDlg_Matches .filterRule .feed {
|
||||||
|
word-break: break-word;
|
||||||
|
font-style: italic;
|
||||||
}
|
}
|
||||||
.flat #filterTree .filterRules li.inverse,
|
.flat #filterTree .filterRules li.inverse,
|
||||||
.flat #filterDlg_Matches span.filterRule.inverse {
|
.flat #filterDlg_Matches span.filterRule.inverse {
|
||||||
|
|
|
@ -1569,8 +1569,14 @@ body.ttrss_utility fieldset > label.checkbox {
|
||||||
position: relative;
|
position: relative;
|
||||||
top: -1px;
|
top: -1px;
|
||||||
}
|
}
|
||||||
.flat #filterDlg_Matches span.filterRule {
|
.flat #filterDlg_Matches .filterRule {
|
||||||
color: green;
|
color: green;
|
||||||
|
word-break: break-all;
|
||||||
|
}
|
||||||
|
.flat #filterDlg_Matches .filterRule .field,
|
||||||
|
.flat #filterDlg_Matches .filterRule .feed {
|
||||||
|
word-break: break-word;
|
||||||
|
font-style: italic;
|
||||||
}
|
}
|
||||||
.flat #filterTree .filterRules li.inverse,
|
.flat #filterTree .filterRules li.inverse,
|
||||||
.flat #filterDlg_Matches span.filterRule.inverse {
|
.flat #filterDlg_Matches span.filterRule.inverse {
|
||||||
|
|
Loading…
Reference in New Issue