Add initial not-working implementation
This commit is contained in:
parent
beaec64abd
commit
4c7274bafe
17 changed files with 509 additions and 128 deletions
20
src/components/AlbumArt/AlbumArt.css
Normal file
20
src/components/AlbumArt/AlbumArt.css
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
.cover {
|
||||
overflow: hidden;
|
||||
width: min(100%, calc(100vh - 135px));
|
||||
height: 100%;
|
||||
aspect-ratio: 1 / 1;
|
||||
display: block;
|
||||
border-radius: 14px;
|
||||
background: rgba(0, 0, 0, 0.4);
|
||||
padding: 0;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.cover img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
max-height: 100%;
|
||||
max-width: 100%;
|
||||
object-fit: contain;
|
||||
display: block;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue