From 81d4053dfddaf432e1485c6a74140c1e5de11e7b Mon Sep 17 00:00:00 2001 From: Christian Hofmaier Date: Thu, 29 Mar 2018 18:12:42 +0200 Subject: [usb-lock-off] fixed table out of border when window getting smaller --- modules-available/usblockoff/style.css | 4 ++-- .../templates/usb-configuration-table.html | 22 +++++++++++----------- .../usblockoff/templates/usb-rules-config.html | 20 ++++++++++---------- 3 files changed, 23 insertions(+), 23 deletions(-) (limited to 'modules-available') diff --git a/modules-available/usblockoff/style.css b/modules-available/usblockoff/style.css index b54b2d88..266ca2ec 100644 --- a/modules-available/usblockoff/style.css +++ b/modules-available/usblockoff/style.css @@ -1,9 +1,9 @@ -#configurationTable { +.fixedTableLayout { table-layout: fixed; width: 100%; } -#configurationTable th, #configurationTable td { +.tableWrapBreakWord{ word-wrap: break-word } diff --git a/modules-available/usblockoff/templates/usb-configuration-table.html b/modules-available/usblockoff/templates/usb-configuration-table.html index 35eede5a..dc8254df 100644 --- a/modules-available/usblockoff/templates/usb-configuration-table.html +++ b/modules-available/usblockoff/templates/usb-configuration-table.html @@ -62,28 +62,28 @@
- +
- - - - - + + + + + {{#config_list}} - - - - + + + -
ID{{lang_configName}}{{lang_description}}{{lang_edit}}{{lang_delete}}ID{{lang_configName}}{{lang_description}}{{lang_edit}}{{lang_delete}}
{{config_id}}{{config_name}}{{config_desc}} + {{config_id}}{{config_name}}{{config_desc}} + diff --git a/modules-available/usblockoff/templates/usb-rules-config.html b/modules-available/usblockoff/templates/usb-rules-config.html index a5347a27..eb6bea59 100644 --- a/modules-available/usblockoff/templates/usb-rules-config.html +++ b/modules-available/usblockoff/templates/usb-rules-config.html @@ -16,14 +16,14 @@
- +
- - - - - + + + + + @@ -34,8 +34,8 @@ - - + - -
{{lang_action}}{{lang_attributes}}{{lang_edit}}{{lang_delete}}{{lang_action}}{{lang_attributes}}{{lang_edit}}{{lang_delete}}
{{target}} + {{target}} {{#attributes}} {{prop}}: {{value}}
{{/attributes}} @@ -43,12 +43,12 @@ +{{num_overload}} {{/hasoverload}}
+ + -- cgit v1.2.3-55-g7522