scroller: hide when inactive on mobile
Signed-off-by: Varun Patil <varunpatil@ucla.edu>pull/563/head
parent
0a37263dda
commit
89246f7552
|
@ -535,12 +535,18 @@ export default defineComponent({
|
||||||
z-index: 100;
|
z-index: 100;
|
||||||
cursor: ns-resize;
|
cursor: ns-resize;
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
transition: opacity 0.2s ease-in-out;
|
transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;
|
||||||
|
|
||||||
// Show on hover or scroll of main window
|
// Show on hover or scroll of main window
|
||||||
&:hover,
|
&:hover,
|
||||||
&.scrolling-recycler {
|
&.scrolling-recycler {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
|
visibility: visible;
|
||||||
|
}
|
||||||
|
|
||||||
|
// On phone, there is no point of hover, so just hide it when not scrolling
|
||||||
|
@include phone {
|
||||||
|
visibility: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
> .tick {
|
> .tick {
|
||||||
|
|
Loading…
Reference in New Issue