diff options
author | Christian Klinger | 2016-07-21 13:25:01 +0200 |
---|---|---|
committer | Christian Klinger | 2016-07-21 13:25:01 +0200 |
commit | a83354dcbdf8cd5856b26cb829e207b348d41b35 (patch) | |
tree | 85378084fd17d6f3dd2c8762859e9c50c30b29db /modules-available/statistics | |
parent | Added extra cancel buttons. (diff) | |
download | slx-admin-a83354dcbdf8cd5856b26cb829e207b348d41b35.tar.gz slx-admin-a83354dcbdf8cd5856b26cb829e207b348d41b35.tar.xz slx-admin-a83354dcbdf8cd5856b26cb829e207b348d41b35.zip |
use ellipsis via CSS to prevent long systemmodels to break the layout.
Diffstat (limited to 'modules-available/statistics')
-rw-r--r-- | modules-available/statistics/templates/cpumodels.html | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/modules-available/statistics/templates/cpumodels.html b/modules-available/statistics/templates/cpumodels.html index 1bc2e6ec..f4af9cd2 100644 --- a/modules-available/statistics/templates/cpumodels.html +++ b/modules-available/statistics/templates/cpumodels.html @@ -6,7 +6,8 @@ <div class="panel-body"> <div class="row"> <div class="col-md-8"> - <table class="table table-condensed table-striped"> + <table class="table table-condensed table-striped table-responsive" + style="table-layout: fixed;"> <tr> <th>{{lang_modelName}}</th> <th class="text-right">{{lang_cpuCores}}</th> @@ -14,7 +15,7 @@ </tr> {{#rows}} <tr id="{{id}}"> - <td class="text-left slx-nowrap"> + <td class="text-left slx-nowrap" style="overflow:hidden;text-overflow: ellipsis;"> <a href="?do=Statistics&show=stat&filters={{query}}~,~systemmodel={{urlsystemmodel}}">{{systemmodel}}</a> </td> <td class="text-right"><a href="?do=Statistics&show=stat&filters={{query}}~,~realcores={{cores}}">{{cores}}</a></td> |