Skip to content

Commit

Permalink
Fix for space details
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexAndBear committed Dec 12, 2023
1 parent 19c0f93 commit b0c2ddf
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ import { formatDateFromISO } from '../../../../helpers'
import { eventBus } from '../../../../services/eventBus'
import { SideBarEventTopics } from '../../../../composables'
import { ImageDimension } from '../../../../constants'
import { ProcessorType } from '../../../../services'
export default defineComponent({
name: 'SpaceDetails',
Expand Down Expand Up @@ -127,7 +128,8 @@ export default defineComponent({
spaceImage.value = yield previewService.loadPreview({
space: unref(resource),
resource: imageResource,
dimensions: ImageDimension.Preview
dimensions: ImageDimension.Tile,
processor: ProcessorType.enum.fit
})
})
Expand Down Expand Up @@ -257,8 +259,6 @@ export default defineComponent({
.oc-space-details-sidebar {
&-image img {
max-height: 150px;
object-fit: cover;
width: 100%;
}
}
Expand Down

0 comments on commit b0c2ddf

Please sign in to comment.