fix(app): wrap long text in tables cells (#1920) (#2052)

* fix(style): wrap long text in tables cells (#1920)

* fix(style): <code> tags are now wrapped correctly (PR #2052)

* fix(style): revert #1770 style-related content and apply nowrap on datatables (PR#2052)
pull/2060/head
baron_l 2018-07-20 18:31:34 +02:00 committed by Anthony Lapenna
parent 509e3fa795
commit 0f63326bd5
24 changed files with 29 additions and 24 deletions

View File

@ -20,7 +20,7 @@
<input type="text" class="searchInput" ng-model="$ctrl.state.textFilter" placeholder="Search..." auto-focus>
</div>
<div class="table-responsive">
<table class="table table-hover table-filters">
<table class="table table-hover table-filters nowrap-cells">
<thead>
<tr>
<th>

View File

@ -20,7 +20,7 @@
<input type="text" class="searchInput" ng-model="$ctrl.state.textFilter" placeholder="Search..." auto-focus>
</div>
<div class="table-responsive">
<table class="table table-hover">
<table class="table table-hover nowrap-cells">
<thead>
<tr>
<th>

View File

@ -26,7 +26,7 @@
</form>
</div>
<div class="table-responsive">
<table class="table table-hover">
<table class="table table-hover nowrap-cells">
<thead>
<tr>
<th>Network</th>

View File

@ -11,7 +11,7 @@
<input type="text" class="searchInput" ng-model="$ctrl.state.textFilter" placeholder="Search..." auto-focus>
</div>
<div class="table-responsive">
<table class="table table-hover">
<table class="table table-hover nowrap-cells">
<thead>
<tr>
<th ng-repeat="header in $ctrl.headerset">

View File

@ -112,7 +112,7 @@
<input type="text" class="searchInput" ng-model="$ctrl.state.textFilter" placeholder="Search..." auto-focus>
</div>
<div class="table-responsive">
<table class="table table-hover table-filters">
<table class="table table-hover table-filters nowrap-cells">
<thead>
<tr>
<th>

View File

@ -11,7 +11,7 @@
<input type="text" class="searchInput" ng-model="$ctrl.state.textFilter" placeholder="Search..." auto-focus>
</div>
<div class="table-responsive">
<table class="table table-hover">
<table class="table table-hover nowrap-cells">
<thead>
<tr>
<th>

View File

@ -29,7 +29,7 @@
<input type="text" class="searchInput" ng-model="$ctrl.state.textFilter" placeholder="Search..." auto-focus>
</div>
<div class="table-responsive">
<table class="table table-hover table-filters">
<table class="table table-hover table-filters nowrap-cells">
<thead>
<tr>
<th uib-dropdown dropdown-append-to-body auto-close="disabled" popover-placement="bottom-left" is-open="$ctrl.filters.usage.open">

View File

@ -20,7 +20,7 @@
<input type="text" class="searchInput" ng-model="$ctrl.state.textFilter" placeholder="Search..." auto-focus>
</div>
<div class="table-responsive">
<table class="table table-hover">
<table class="table table-hover nowrap-cells">
<thead>
<tr>
<th>

View File

@ -11,7 +11,7 @@
<input type="text" class="searchInput" ng-model="$ctrl.state.textFilter" placeholder="Search..." auto-focus>
</div>
<div class="table-responsive">
<table class="table table-hover">
<table class="table table-hover nowrap-cells">
<thead>
<tr>
<th>

View File

@ -11,7 +11,7 @@
<input type="text" class="searchInput" ng-model="$ctrl.state.textFilter" placeholder="Search..." auto-focus>
</div>
<div class="table-responsive">
<table class="table table-hover">
<table class="table table-hover nowrap-cells">
<thead>
<tr>
<th>

View File

@ -20,7 +20,7 @@
<input type="text" class="searchInput" ng-model="$ctrl.state.textFilter" placeholder="Search..." auto-focus>
</div>
<div class="table-responsive">
<table class="table table-hover">
<table class="table table-hover nowrap-cells">
<thead>
<tr>
<th>

View File

@ -1,5 +1,5 @@
<div style="background-color: #d5e8f3; padding: 2px">
<table class="table table-condensed table-hover">
<table class="table table-condensed table-hover nowrap-cells">
<thead style="background-color: #e7f6ff">
<tr>
<th uib-dropdown dropdown-append-to-body auto-close="disabled" is-open="$ctrl.filters.state.open" style="width: 10%;">

View File

@ -17,7 +17,7 @@
<input type="text" class="searchInput" ng-model="$ctrl.state.textFilter" placeholder="Search..." auto-focus>
</div>
<div class="table-responsive">
<table class="table table-hover">
<table class="table table-hover nowrap-cells">
<thead>
<tr>
<th style="width:55px;">

View File

@ -11,7 +11,7 @@
<input type="text" class="searchInput" ng-model="$ctrl.state.textFilter" placeholder="Search..." auto-focus>
</div>
<div class="table-responsive">
<table class="table table-hover">
<table class="table table-hover nowrap-cells">
<thead>
<tr>
<th>

View File

@ -20,7 +20,7 @@
<input type="text" class="searchInput" ng-model="$ctrl.state.textFilter" placeholder="Search..." auto-focus>
</div>
<div class="table-responsive">
<table class="table table-hover table-filters">
<table class="table table-hover table-filters nowrap-cells">
<thead>
<tr>
<th uib-dropdown dropdown-append-to-body auto-close="disabled" is-open="$ctrl.filters.usage.open">

View File

@ -20,7 +20,7 @@
<input type="text" class="searchInput" ng-model="$ctrl.state.textFilter" placeholder="Search..." auto-focus>
</div>
<div class="table-responsive">
<table class="table table-hover">
<table class="table table-hover nowrap-cells">
<thead>
<tr>
<th>

View File

@ -11,7 +11,7 @@
<input type="text" class="searchInput" ng-model="$ctrl.state.textFilter" placeholder="Search by name, group, tag..." auto-focus>
</div>
<div class="table-responsive">
<table class="table">
<table class="table nowrap-cells">
<thead>
<tr>
<th>

View File

@ -20,7 +20,7 @@
<input type="text" class="searchInput" ng-model="$ctrl.state.textFilter" placeholder="Search..." auto-focus>
</div>
<div class="table-responsive">
<table class="table table-hover">
<table class="table table-hover nowrap-cells">
<thead>
<tr>
<th>

View File

@ -20,7 +20,7 @@
<input type="text" class="searchInput" ng-model="$ctrl.state.textFilter" placeholder="Search..." auto-focus>
</div>
<div class="table-responsive">
<table class="table table-hover">
<table class="table table-hover nowrap-cells">
<thead>
<tr>
<th>

View File

@ -20,7 +20,7 @@
<input type="text" class="searchInput" ng-model="$ctrl.state.textFilter" placeholder="Search..." auto-focus>
</div>
<div class="table-responsive">
<table class="table table-hover">
<table class="table table-hover nowrap-cells">
<thead>
<tr>
<th>

View File

@ -17,7 +17,7 @@
<input type="text" class="searchInput" ng-model="$ctrl.state.textFilter" placeholder="Search...">
</div>
<div class="table-responsive">
<table class="table table-hover">
<table class="table table-hover nowrap-cells">
<thead>
<tr>
<th>

View File

@ -17,7 +17,7 @@
<input type="text" class="searchInput" ng-model="$ctrl.state.textFilter" placeholder="Search...">
</div>
<div class="table-responsive">
<table class="table table-hover">
<table class="table table-hover nowrap-cells">
<thead>
<tr>
<th>

View File

@ -17,7 +17,7 @@
<input type="text" class="searchInput" ng-model="$ctrl.state.textFilter" placeholder="Search...">
</div>
<div class="table-responsive">
<table class="table table-hover">
<table class="table table-hover nowrap-cells">
<thead>
<tr>
<th>

View File

@ -140,10 +140,15 @@ a[ng-click]{
font-weight: normal;
}
.widget .widget-body table tbody td {
.widget .widget-body .nowrap-cells tbody td {
white-space: nowrap;
}
.widget .widget-body table tbody td {
white-space: normal;
word-break: break-word;
}
.template-widget {
height: 100%;
}