Skip to content

Commit

Permalink
fix: remove height restriction on details view
Browse files Browse the repository at this point in the history
  • Loading branch information
donnyquixotic committed Nov 18, 2023
1 parent b18a930 commit c7b4f0d
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions src/pages/evm/nfts/NftViewer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,13 @@ function setHoverPreviewVisibility(visible: boolean) {
}"
>
<div class="c-nft-viewer__media-container">
<div v-if="showCoverImage" class="c-nft-viewer__image-container">
<div
v-if="showCoverImage"
:class="{
'c-nft-viewer__image-container': true,
'c-nft-viewer__image-container--preview-mode': previewMode
}"
>
<q-skeleton v-if="!passedMaxLoadingTime && isMediaLoading" type="rect" class="c-nft-viewer__image-loading" />
<img
v-show="!showPlaceholderCoverImage && !isMediaLoading && !imageError"
Expand Down Expand Up @@ -439,8 +445,10 @@ function setHoverPreviewVisibility(visible: boolean) {
justify-content: center;
align-items: center;
margin: auto;
height: 100%;
max-height: 432px;
&--preview-mode{
height: 100%;
max-height: 432px;
}
}
&__image {
Expand Down

0 comments on commit c7b4f0d

Please sign in to comment.