padding
This commit is contained in:
parent
00b419ef8f
commit
aac90540f5
|
@ -265,7 +265,7 @@ button[type="submit"]:hover {
|
||||||
}
|
}
|
||||||
|
|
||||||
.treasure {
|
.treasure {
|
||||||
padding: 0 20px 30px 0px;
|
padding: 0 20px 20px 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.treasure-submitted {
|
.treasure-submitted {
|
||||||
|
|
|
@ -10,6 +10,8 @@ window.onpopstate = history.onpushstate = function(e) {
|
||||||
};
|
};
|
||||||
history.pushState("#main-page", "", "")
|
history.pushState("#main-page", "", "")
|
||||||
|
|
||||||
|
var save_udpate= null;
|
||||||
|
|
||||||
function show_page(id, historyPush) {
|
function show_page(id, historyPush) {
|
||||||
//si le z-index de la nouvelle page est inférieur on fait un transi 'forward' sinon 'backward'
|
//si le z-index de la nouvelle page est inférieur on fait un transi 'forward' sinon 'backward'
|
||||||
for(i in page) {
|
for(i in page) {
|
||||||
|
@ -21,6 +23,15 @@ function show_page(id, historyPush) {
|
||||||
$hs.addClass('away');
|
$hs.addClass('away');
|
||||||
$id = $(id).show();
|
$id = $(id).show();
|
||||||
|
|
||||||
|
/*if(id == "#demande-page") {
|
||||||
|
save_udpate = setInterval(() => {
|
||||||
|
let save_scroll = $(window).scrollTop();
|
||||||
|
updateDemandes();
|
||||||
|
$(window).scrollTop(save_scroll);
|
||||||
|
}, 5000);
|
||||||
|
} else if (!save_udpate) {
|
||||||
|
clearInterval(save_udpate);
|
||||||
|
}*/
|
||||||
|
|
||||||
if(!historyPush) {
|
if(!historyPush) {
|
||||||
history.pushState(id, "", "")
|
history.pushState(id, "", "")
|
||||||
|
|
Loading…
Reference in a new issue