Remove unnecessary horizontal scroll bars in allert widgets (#12464)

* Remove unneeded horizontal scroll bars for alert widgets

Fixes #12454

* Always hide horizontal scroll bars

Width of the widget_body class is set to 100% which hides them anyway, with correct css margins
This commit is contained in:
Martin
2021-01-26 06:07:11 +01:00
committed by GitHub
parent 27ac7d65ee
commit cdd93b695c
4 changed files with 1 additions and 15 deletions

View File

@@ -1962,6 +1962,7 @@ label {
.widget_body {
padding: 0.8em;
overflow-y: auto;
overflow-x: hidden;
width: 100%;
height: calc(100% - 38px);
cursor: auto;

View File

@@ -1,8 +1,3 @@
<div class="row">
<div class="col-sm-12">
<span id="message"></span>
</div>
</div>
<div class="table-responsive">
<table id="alertlog_{{ $id }}" class="table table-hover table-condensed alerts">
<thead>

View File

@@ -1,8 +1,3 @@
<div class="row">
<div class="col-sm-12">
<span id="message"></span>
</div>
</div>
<div class="table-responsive">
<table id="alertlog-stats_{{ $id }}" class="table table-hover table-condensed table-striped">
<thead>

View File

@@ -1,8 +1,3 @@
<div class="row">
<div class="col-sm-12">
<span id="message"></span>
</div>
</div>
<div class="table-responsive">
<table id="alerts_{{ $id }}" class="table table-hover table-condensed alerts">
<thead>