Skip to content

Commit

Permalink
fix: cvaa overlay responsive fixes (#81)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dvir Hazout authored and OrenMe committed Oct 16, 2017
1 parent 96c4a82 commit 207e880
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions src/components/cvaa-overlay/_cvaa-overlay.scss
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,11 @@

&:first-child { margin-left: 0; }
&:last-child { margin-right: 0; }

&.custom {
width: auto;
padding: 0 10px;
}
}
.button-save-cvaa,
.custom-captions-applied {
Expand Down
2 changes: 1 addition & 1 deletion src/components/cvaa-overlay/cvaa-overlay.js
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ class CVAAOverlay extends BaseComponent {
) :
(
<div className={style.customCaptionsApplied}>
<div className={style.sample} style={this.state.customTextStyle.toCSS()}>
<div className={[style.sample, style.custom].join(' ')} style={this.state.customTextStyle.toCSS()}>
<span>Custom captions</span>
<div className={style.activeTick}><Icon type={IconType.Check} /></div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/components/overlay/_overlay.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
display: none;
opacity: 0;
animation: openOverlay 100ms ease-in-out forwards;
z-index: 4;
z-index: 11;

&.active {
display: block;
Expand Down

0 comments on commit 207e880

Please sign in to comment.