Skip to content

Commit

Permalink
keep overflow hidden on wrapper div
Browse files Browse the repository at this point in the history
  • Loading branch information
danparnella committed Oct 21, 2020
1 parent 8e7a24a commit 53e12f1
Showing 1 changed file with 20 additions and 19 deletions.
39 changes: 20 additions & 19 deletions .storybook/styles/components/_forms.scss
Original file line number Diff line number Diff line change
Expand Up @@ -267,31 +267,32 @@ Uploader
}
}

.button-secondary-light span{
.button-secondary-light{
overflow: hidden;
position: relative;
background-color: $grey-base;
box-shadow: none;
border: none;
cursor: pointer;
color: $white-base;
text-align: center;
display: block;
@include rem(padding, 20px 0px);
color: $black-base;

&:hover{
background-color: darken($grey-base, 8%);
}

&.fileupload-exists{
span{
background-color: $grey-base;
cursor: pointer;
color: $white-base;
text-align: center;
display: block;
@include rem(padding, 20px 0px);
color: $black-base;

&:hover{
background-color: darken($grey-base, 8%);
}

&.fileupload-exists{
color: $white-base;
}
}
}

&.fileupload-exists{
div{
padding: 0px !important;
&.fileupload-exists{
div{
padding: 0px !important;
}
}
}

Expand Down

0 comments on commit 53e12f1

Please sign in to comment.