summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Beaver <sbeaver@netgate.com>2016-11-21 10:37:38 -0500
committerSteve Beaver <sbeaver@netgate.com>2016-11-21 10:38:34 -0500
commitf6973634c34b34908644e2df17154274d2ab12be (patch)
tree5f77e8b1a3d692f21e87773afae63ed5ada6b627
parent6be47576de52f63412c5814b1f6ac5de59f91046 (diff)
downloadpfsense-f6973634c34b34908644e2df17154274d2ab12be.zip
pfsense-f6973634c34b34908644e2df17154274d2ab12be.tar.gz
Fixed #6939 by moving CSS only to the two pages that require it
-rw-r--r--src/usr/local/www/css/pfSense.css1
-rw-r--r--src/usr/local/www/firewall_nat.php8
-rw-r--r--src/usr/local/www/firewall_rules.php11
3 files changed, 18 insertions, 2 deletions
diff --git a/src/usr/local/www/css/pfSense.css b/src/usr/local/www/css/pfSense.css
index 743ff2e..9152784 100644
--- a/src/usr/local/www/css/pfSense.css
+++ b/src/usr/local/www/css/pfSense.css
@@ -126,7 +126,6 @@ tr.disabled th {
.table-responsive {
clear: both;
margin-bottom: 0px;
- overflow-x: visible; /** Required to allow dragging to automatically scroll the page */
}
/* navigation */
diff --git a/src/usr/local/www/firewall_nat.php b/src/usr/local/www/firewall_nat.php
index bac4927..f7433cf 100644
--- a/src/usr/local/www/firewall_nat.php
+++ b/src/usr/local/www/firewall_nat.php
@@ -225,6 +225,14 @@ display_top_tabs($tab_array);
$columns_in_table = 13;
?>
+<!-- Allow table to scroll when dragging outside of the display window -->
+<style>
+.table-responsive {
+ clear: both;
+ overflow-x: visible;
+ margin-bottom: 0px;
+}
+</style>
<form action="firewall_nat.php" method="post" name="iform">
<div class="panel panel-default">
diff --git a/src/usr/local/www/firewall_rules.php b/src/usr/local/www/firewall_rules.php
index d6a2973..ed8e033 100644
--- a/src/usr/local/www/firewall_rules.php
+++ b/src/usr/local/www/firewall_rules.php
@@ -394,11 +394,20 @@ $rulescnt = pfSense_get_pf_rules();
$columns_in_table = 13;
?>
+<!-- Allow table to scroll when dragging outside of the display window -->
+<style>
+.table-responsive {
+ clear: both;
+ overflow-x: visible;
+ margin-bottom: 0px;
+}
+</style>
+
<form method="post">
<div class="panel panel-default">
<div class="panel-heading"><h2 class="panel-title"><?=gettext("Rules (Drag to Change Order)")?></h2></div>
<div id="mainarea" class="table-responsive panel-body">
- <table id="ruletable" class="table table-hover table-striped table-condensed">
+ <table id="ruletable" class="table table-hover table-striped table-condensed" style="overflow-x: 'visible'">
<thead>
<tr>
<th><!-- checkbox --></th>
OpenPOWER on IntegriCloud