1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 04:46:40 +07:00

hiding empty samples

This commit is contained in:
Fedor Katurov 2019-10-24 14:23:38 +07:00
parent 0d042d4a09
commit a9da7e8cef
3 changed files with 5 additions and 5 deletions

View file

@ -2,7 +2,7 @@
filter: blur(0);
transition: filter 0.25s;
will-change: filter;
// max-height: 100vh;
// width: 100vw;
// overflow: visible auto;
max-height: 100vh;
width: 100vw;
overflow: visible auto;
}

View file

@ -8,7 +8,7 @@
}
.wrap {
position: absolute;
position: fixed;
top: 0;
left: 0;
z-index: -1;

View file

@ -129,7 +129,7 @@ const NodeLayoutUnconnected: FC<IProps> = memo(
<NodeRelated title={album} items={related.albums[album]} />
))}
{related && related.similar && (
{related && related.similar && related.similar.length > 0 && (
<NodeRelated title="ПОХОЖИЕ" items={related.similar} />
)}
</Group>