From eec69df2392db724ef95d3b2f557ad433e2c60e1 Mon Sep 17 00:00:00 2001 From: mateuswetah Date: Mon, 8 Nov 2021 10:11:01 -0300 Subject: [PATCH] Adds break-avoid to checkbox columns. --- .../admin/components/other/checkbox-radio-filter-input.vue | 7 +++++++ .../components/other/checkbox-radio-metadata-input.vue | 6 ++++++ 2 files changed, 13 insertions(+) diff --git a/src/views/admin/components/other/checkbox-radio-filter-input.vue b/src/views/admin/components/other/checkbox-radio-filter-input.vue index 14280ef75..01ed17e96 100644 --- a/src/views/admin/components/other/checkbox-radio-filter-input.vue +++ b/src/views/admin/components/other/checkbox-radio-filter-input.vue @@ -889,8 +889,11 @@ justify-content: space-between; align-items: center; padding: 0; + -webkit-break-inside: avoid; + break-inside: avoid; .b-checkbox { + break-inside: avoid; max-width: 100%; min-height: 1.5em; margin-left: 0.7em; @@ -910,8 +913,12 @@ max-width: calc(100% - 0.5em); padding-left: 0.5em; margin: 0; + -webkit-break-inside: avoid; + break-inside: avoid; .b-checkbox { + -webkit-break-inside: avoid; + break-inside: avoid; margin-right: 0px; margin-bottom: 0; } diff --git a/src/views/admin/components/other/checkbox-radio-metadata-input.vue b/src/views/admin/components/other/checkbox-radio-metadata-input.vue index 83ecd4b4f..b9184f253 100644 --- a/src/views/admin/components/other/checkbox-radio-metadata-input.vue +++ b/src/views/admin/components/other/checkbox-radio-metadata-input.vue @@ -835,6 +835,8 @@ justify-content: space-between; align-items: center; padding: 0; + -webkit-break-inside: avoid; + break-inside: avoid; /deep/ .b-checkbox, /deep/ .b-radio { max-width: 100%; @@ -870,10 +872,14 @@ max-width: calc(100% - 0.5em); padding-left: 0.5em; margin: 0; + -webkit-break-inside: avoid; + break-inside: avoid; .b-checkbox, .b-radio { margin-right: 0px; margin-bottom: 0; + -webkit-break-inside: avoid; + break-inside: avoid; .control-label { white-space: normal;