preapproval CSS hotfix
This commit is contained in:
parent
ca5bcbcf50
commit
412a487e06
@ -130,7 +130,14 @@ function preapproval_form_check_errors()
|
||||
|
||||
setTimeout(function()
|
||||
{
|
||||
$("#preapproval_block").css("width", "100px");
|
||||
if(window.innerWidth > 540)
|
||||
{
|
||||
$("#preapproval_block").css("width", "500px");
|
||||
}
|
||||
else
|
||||
{
|
||||
$("#preapproval_block").css("width", "100px");
|
||||
}
|
||||
$("#preapproval_block_span_wrapper").css("margin-left", "-500px");
|
||||
$(".span_animate_out").removeClass("span_animate_out").addClass("span_hidden");
|
||||
}, 2000);
|
||||
@ -139,7 +146,7 @@ function preapproval_form_check_errors()
|
||||
{
|
||||
setTimeout(function()
|
||||
{
|
||||
$("#preapproval_block").css("width", "100px");
|
||||
$("#preapproval_block").css("width", "300px");
|
||||
}, 2000);
|
||||
}
|
||||
|
||||
@ -168,8 +175,16 @@ function preapproval_form_check_errors()
|
||||
{
|
||||
setTimeout(function()
|
||||
{
|
||||
$("#preapproval_block").css("width", "100px");
|
||||
$(wrap).find(".block_open").css("width", "100px");
|
||||
if(window.innerWidth > 540)
|
||||
{
|
||||
$("#preapproval_block").css("width", "300px");
|
||||
$(wrap).find(".block_open").css("width", "300px");
|
||||
}
|
||||
else
|
||||
{
|
||||
$("#preapproval_block").css("width", "100px");
|
||||
$(wrap).find(".block_open").css("width", "100px");
|
||||
}
|
||||
}, 2000);
|
||||
});
|
||||
|
||||
|
||||
@ -732,12 +732,13 @@
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 100px;
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
border-radius: 100%;
|
||||
box-shadow: 0px 4px 32px 0px rgba(0, 0, 0, 0.16);
|
||||
background: var(--blue);
|
||||
position: relative;
|
||||
min-width: 60px;
|
||||
}
|
||||
@media all and (max-width: 768px) {
|
||||
#preapproval_block .block_open i {
|
||||
|
||||
@ -870,12 +870,13 @@
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 100px;
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
border-radius: 100%;
|
||||
box-shadow: 0px 4px 32px 0px rgba(0, 0, 0, 0.16);
|
||||
background: var(--blue);
|
||||
position: relative;
|
||||
min-width: 60px;
|
||||
|
||||
@media all and (max-width: 768px) {
|
||||
flex: none;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user