[Bug] Scroll conversation to bottom on load (#205)

This commit is contained in:
Pranav Raj S
2019-11-12 09:46:30 +05:30
committed by GitHub
parent e37c04a81f
commit 6d8b6d4769
9 changed files with 53 additions and 12 deletions

View File

@@ -9,7 +9,6 @@ $input-height: $space-two * 2;
appearance: none;
background: $color-white;
border: $form-border-width solid $color-border;
border-radius: $border-radius;
box-sizing: border-box;
color: $color-body;
@@ -19,7 +18,7 @@ $input-height: $space-two * 2;
line-height: 1.3;
max-width: 100%;
outline: none;
padding: $space-small $space-slab;
padding: $space-smaller;
position: relative;
transition: background .2s, border .2s, box-shadow .2s, color .2s;
width: 100%;

View File

@@ -1,4 +1,5 @@
export const SDK_CSS = `
.woot-widget-holder {
z-index: 2147483000!important;
position: fixed!important;
@@ -17,7 +18,9 @@ export const SDK_CSS = `
-webkit-border-radius: 8px!important;
border-radius: 8px!important;
overflow: hidden!important;
opacity: 1!important;
opacity: 1;
transition-property: opacity, bottom;
transition-duration: 0.5s, 0.5s;
}
.woot-widget-holder iframe { width: 100% !important; height: 100% !important; border: 0; }
@@ -62,6 +65,10 @@ export const SDK_CSS = `
}
.woot--hide {
display: none !important;
visibility: hidden !important;
z-index: -1!important;
opacity: 0;
bottom: 60px;
}
`;