From 2580fc447b702a22b14f96d2687c218467bfb44a Mon Sep 17 00:00:00 2001 From: Marc Jauvin Date: Tue, 6 Oct 2020 14:06:48 -0400 Subject: [PATCH] fix messages table layout on mobile --- assets/css/messages.css | 2 +- assets/less/messages.less | 4 ++-- controllers/messages/config_table.yaml | 1 - 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/assets/css/messages.css b/assets/css/messages.css index 103a3c4a..bede5d23 100644 --- a/assets/css/messages.css +++ b/assets/css/messages.css @@ -15,5 +15,5 @@ .translate-messages .header-language span.is-default {text-transform:none} .translate-messages .header-swap-languages {margin-right:10px;float:right;font-size:16px;cursor:pointer} .translate-messages .header-hide-translated {float:right;text-align:right} -.translate-messages .header-hide-translated label {font-weight:normal;margin-bottom:0;margin-right:10px;font-size:12px} +.translate-messages .header-hide-translated label {font-weight:normal;margin-bottom:0;margin-right:10px;font-size:12px;white-space:normal} .translate-messages .header-hide-translated label:before {top:2px;left:0} \ No newline at end of file diff --git a/assets/less/messages.less b/assets/less/messages.less index 1a880d6f..d4126266 100644 --- a/assets/less/messages.less +++ b/assets/less/messages.less @@ -69,6 +69,7 @@ margin-bottom: 0; margin-right: 10px; font-size: 12px; + white-space: normal; &:before { top: 2px; @@ -76,5 +77,4 @@ } } } - -} \ No newline at end of file +} diff --git a/controllers/messages/config_table.yaml b/controllers/messages/config_table.yaml index 42348b3d..331f33ee 100644 --- a/controllers/messages/config_table.yaml +++ b/controllers/messages/config_table.yaml @@ -15,4 +15,3 @@ columns: title: To found: title: Scan errors - width: 150px