Skip to content

Commit

Permalink
Merge pull request #313 from dcos-labs/mp/fix/bruteforce-rm-checkbox-…
Browse files Browse the repository at this point in the history
…bottom-margin

fix: kill bottom margin on CheckboxInput in dcos-ui
  • Loading branch information
mperrotti authored Jan 14, 2020
2 parents fcece55 + 9f383d3 commit 77fe8e1
Show file tree
Hide file tree
Showing 6 changed files with 576 additions and 270 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,20 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`CheckboxInput renders all appearances 1`] = `
.emotion-5 {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
-webkit-box-pack: center;
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
}
.emotion-0 {
border: 0;
-webkit-clip: rect(0 0 0 0);
Expand Down Expand Up @@ -40,6 +54,7 @@ exports[`CheckboxInput renders all appearances 1`] = `
display: -webkit-inline-flex;
display: -ms-inline-flexbox;
display: inline-flex;
margin-bottom: 0 !important;
}
.emotion-4 > div {
Expand Down Expand Up @@ -96,6 +111,7 @@ exports[`CheckboxInput renders all appearances 1`] = `
vertAlign="center"
>
<div
className="emotion-5"
data-cy="checkboxInput"
>
<label
Expand Down Expand Up @@ -134,6 +150,20 @@ exports[`CheckboxInput renders all appearances 1`] = `
`;

exports[`CheckboxInput renders all appearances 2`] = `
.emotion-5 {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
-webkit-box-pack: center;
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
}
.emotion-0 {
border: 0;
-webkit-clip: rect(0 0 0 0);
Expand Down Expand Up @@ -173,6 +203,7 @@ exports[`CheckboxInput renders all appearances 2`] = `
display: -webkit-inline-flex;
display: -ms-inline-flexbox;
display: inline-flex;
margin-bottom: 0 !important;
}
.emotion-4 > div {
Expand Down Expand Up @@ -231,6 +262,7 @@ exports[`CheckboxInput renders all appearances 2`] = `
vertAlign="center"
>
<div
className="emotion-5"
data-cy="checkboxInput checkboxInput.error"
>
<label
Expand Down Expand Up @@ -269,6 +301,20 @@ exports[`CheckboxInput renders all appearances 2`] = `
`;

exports[`CheckboxInput renders all appearances 3`] = `
.emotion-5 {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
-webkit-box-pack: center;
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
}
.emotion-0 {
border: 0;
-webkit-clip: rect(0 0 0 0);
Expand Down Expand Up @@ -308,6 +354,7 @@ exports[`CheckboxInput renders all appearances 3`] = `
display: -webkit-inline-flex;
display: -ms-inline-flexbox;
display: inline-flex;
margin-bottom: 0 !important;
}
.emotion-4 > div {
Expand Down Expand Up @@ -366,6 +413,7 @@ exports[`CheckboxInput renders all appearances 3`] = `
vertAlign="center"
>
<div
className="emotion-5"
data-cy="checkboxInput checkboxInput.success"
>
<label
Expand Down Expand Up @@ -404,6 +452,20 @@ exports[`CheckboxInput renders all appearances 3`] = `
`;

exports[`CheckboxInput renders indeterminate 1`] = `
.emotion-7 {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
-webkit-box-pack: center;
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
}
.emotion-0 {
border: 0;
-webkit-clip: rect(0 0 0 0);
Expand Down Expand Up @@ -432,6 +494,7 @@ exports[`CheckboxInput renders indeterminate 1`] = `
display: -webkit-inline-flex;
display: -ms-inline-flexbox;
display: inline-flex;
margin-bottom: 0 !important;
}
.emotion-6 > div {
Expand Down Expand Up @@ -528,6 +591,7 @@ exports[`CheckboxInput renders indeterminate 1`] = `
vertAlign="center"
>
<div
className="emotion-7"
data-cy="checkboxInput checkboxInput.indeterminate"
>
<label
Expand Down Expand Up @@ -590,6 +654,20 @@ exports[`CheckboxInput renders indeterminate 1`] = `
`;

exports[`CheckboxInput renders with a hidden label 1`] = `
.emotion-5 {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
-webkit-box-pack: center;
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
}
.emotion-0 {
border: 0;
-webkit-clip: rect(0 0 0 0);
Expand Down Expand Up @@ -629,6 +707,7 @@ exports[`CheckboxInput renders with a hidden label 1`] = `
display: -webkit-inline-flex;
display: -ms-inline-flexbox;
display: inline-flex;
margin-bottom: 0 !important;
}
.emotion-4 > div {
Expand Down Expand Up @@ -695,6 +774,7 @@ exports[`CheckboxInput renders with a hidden label 1`] = `
vertAlign="center"
>
<div
className="emotion-5"
data-cy="checkboxInput"
>
<label
Expand Down
Loading

0 comments on commit 77fe8e1

Please sign in to comment.