From fb5d3a0541ed8063eead810b60335d7d688d8614 Mon Sep 17 00:00:00 2001 From: VakarisZ Date: Wed, 22 Jul 2020 11:59:09 +0300 Subject: [PATCH] Fixed broken attack matrix checkbox UI in config --- monkey/monkey_island/cc/ui/src/styles/Checkbox.scss | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/monkey/monkey_island/cc/ui/src/styles/Checkbox.scss b/monkey/monkey_island/cc/ui/src/styles/Checkbox.scss index bdc9bcb07..2c0a14d58 100644 --- a/monkey/monkey_island/cc/ui/src/styles/Checkbox.scss +++ b/monkey/monkey_island/cc/ui/src/styles/Checkbox.scss @@ -7,7 +7,8 @@ $black: #000000; .ui-checkbox-btn { position: relative; - display: inline-block; + display: flex; + align-items: center; background-color: rgba(red, .6); text-align: center; width: 100%; @@ -100,15 +101,13 @@ $black: #000000; } .attack-matrix .ui-checkbox-btn label { + width:100%; font-weight: 700; padding-top: 0; - position: relative; - float: left; - top: 50%; - left: 50%; - transform: translate(-50%, -50%); padding-left: 5px; padding-right: 5px; + margin-bottom: 5px; + margin-top: 5px; } .attack-matrix div.rt-td>div {