Merge pull request #737 from guardicore/feature/broken_attack_matix_ui

Fixed broken attack matrix checkbox UI in config
This commit is contained in:
VakarisZ 2020-07-24 11:23:34 +03:00 committed by GitHub
commit 6f993d34e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 6 deletions

View File

@ -7,7 +7,8 @@ $black: #000000;
.ui-checkbox-btn { .ui-checkbox-btn {
position: relative; position: relative;
display: inline-block; display: flex;
align-items: center;
background-color: rgba(red, .6); background-color: rgba(red, .6);
text-align: center; text-align: center;
width: 100%; width: 100%;
@ -100,15 +101,13 @@ $black: #000000;
} }
.attack-matrix .ui-checkbox-btn label { .attack-matrix .ui-checkbox-btn label {
width:100%;
font-weight: 700; font-weight: 700;
padding-top: 0; padding-top: 0;
position: relative;
float: left;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
padding-left: 5px; padding-left: 5px;
padding-right: 5px; padding-right: 5px;
margin-bottom: 5px;
margin-top: 5px;
} }
.attack-matrix div.rt-td>div { .attack-matrix div.rt-td>div {