normalized the caster to return always non-null value and fixed minor ui issues

This commit is contained in:
Gani Georgiev
2022-07-18 00:16:09 +03:00
parent f19b9e3552
commit 994761b728
34 changed files with 346 additions and 321 deletions

View File

@@ -79,8 +79,8 @@
text-align: center;
font-size: 1.6rem;
line-height: 1;
border-top-left-radius: $size;
border-bottom-left-radius: $size;
border-top-left-radius: 50%;
border-bottom-left-radius: 50%;
border-top-right-radius: 0;
border-bottom-right-radius: 0;
color: #fff;
@@ -154,7 +154,7 @@
width: 850px;
}
&.overlay-panel-lg {
width: 650px;
width: 700px;
}
&.overlay-panel-sm {
width: 460px;
@@ -188,13 +188,30 @@
padding-top: calc(var(--baseSpacing) - 5px);
}
}
&.compact-header {
.panel-header {
row-gap: var(--smSpacing);
}
}
&.image-preview {
width: auto;
min-width: 300px;
max-width: 70%;
max-height: 90%;
.panel-header {
position: absolute;
z-index: 99;
.overlay-close {
left: 100%;
right: auto;
border-top-left-radius: 0;
border-bottom-left-radius: 0;
border-top-right-radius: 50%;
border-bottom-right-radius: 50%;
i {
margin-right: 5px;
}
}
}
.panel-header,
.panel-footer {