Bug: Fix missing close button on mobile chat window (#600)

Co-authored-by: Pranav Raj Sreepuram <pranavrajs@gmail.com>
This commit is contained in:
Nithin David Thomas
2020-03-07 23:39:41 +05:30
committed by GitHub
parent 8b4df986bf
commit 60dc564f37
8 changed files with 89 additions and 35 deletions

View File

@@ -17,3 +17,36 @@ body {
.woot-widget-wrap {
height: 100%;
}
.close-button {
cursor: pointer;
position: relative;
width: $space-two;
&::before,
&::after {
background-color: $color-heading;
content: ' ';
height: $space-normal;
left: $space-small;
position: absolute;
top: $space-micro;
width: 2px;
}
&::before {
transform: rotate(45deg);
}
&::after {
transform: rotate(-45deg);
}
}
.is-mobile {
.header-wrap {
.close-button {
display: block !important;
}
}
}