mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Description appear fix
This commit is contained in:
@@ -1029,7 +1029,7 @@ hide mdi-action-visibility mdi-action-visibility-off
|
|||||||
|
|
||||||
.card .card-reveal {
|
.card .card-reveal {
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
transition: transform .3s;
|
transition: transform .1s;
|
||||||
display:none;
|
display:none;
|
||||||
transform: translateY(0%);
|
transform: translateY(0%);
|
||||||
}
|
}
|
||||||
|
|||||||
8
public/dist/main.min.js
vendored
8
public/dist/main.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -56,6 +56,7 @@ if(localStorage.debug === undefined){
|
|||||||
localStorage.debug = debug;
|
localStorage.debug = debug;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
var image_timeout;
|
||||||
var result_html;
|
var result_html;
|
||||||
var empty_results_html;
|
var empty_results_html;
|
||||||
var mobile_beginning;
|
var mobile_beginning;
|
||||||
@@ -653,7 +654,8 @@ $(document).keyup(function(e) {
|
|||||||
$(document).on("mouseenter", ".card.sticky-action", function(e){
|
$(document).on("mouseenter", ".card.sticky-action", function(e){
|
||||||
var that = this;
|
var that = this;
|
||||||
$(that).find(".card-reveal").attr("style", "display: block;");
|
$(that).find(".card-reveal").attr("style", "display: block;");
|
||||||
setTimeout(function(){
|
clearTimeout(image_timeout);
|
||||||
|
image_timeout = setTimeout(function(){
|
||||||
$(that).find(".card-reveal").attr("style", "display: block;transform: translateY(-100%);");
|
$(that).find(".card-reveal").attr("style", "display: block;transform: translateY(-100%);");
|
||||||
}, 50);
|
}, 50);
|
||||||
});
|
});
|
||||||
@@ -666,9 +668,10 @@ $(document).on("click", "#chat_submit", function(e){
|
|||||||
$(document).on("mouseleave", ".card.sticky-action", function(e){
|
$(document).on("mouseleave", ".card.sticky-action", function(e){
|
||||||
var that = this;
|
var that = this;
|
||||||
$(that).find(".card-reveal").attr("style", "display: block;transform: translateY(0%);");
|
$(that).find(".card-reveal").attr("style", "display: block;transform: translateY(0%);");
|
||||||
setTimeout(function(){
|
clearTimeout(image_timeout);
|
||||||
|
image_timeout = setTimeout(function(){
|
||||||
$(that).find(".card-reveal").attr("style", "display: none;");
|
$(that).find(".card-reveal").attr("style", "display: none;");
|
||||||
}, 300);
|
}, 100);
|
||||||
});
|
});
|
||||||
|
|
||||||
$(document).on("click", "#offline-mode", function(e){
|
$(document).on("click", "#offline-mode", function(e){
|
||||||
|
|||||||
Reference in New Issue
Block a user