From 67a0df04e2699a1a08864225553792d1f70a5691 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Wed, 8 Jan 2020 13:00:10 +0100 Subject: [PATCH] Fix image positioning. --- .../FullText/MongoIndexOutput.cs | 2 +- frontend/app/features/content/shared/content-value.component.ts | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/backend/src/Squidex.Domain.Apps.Entities.MongoDb/FullText/MongoIndexOutput.cs b/backend/src/Squidex.Domain.Apps.Entities.MongoDb/FullText/MongoIndexOutput.cs index 794124d6c..51c3fc88d 100644 --- a/backend/src/Squidex.Domain.Apps.Entities.MongoDb/FullText/MongoIndexOutput.cs +++ b/backend/src/Squidex.Domain.Apps.Entities.MongoDb/FullText/MongoIndexOutput.cs @@ -67,7 +67,7 @@ namespace Squidex.Domain.Apps.Entities.MongoDb.FullText try { - indexDirectory.Bucket.UploadFromStream(fullName, indexFileName, fs, options); + indexDirectory.Bucket.UploadFromStream(fullName, indexFileName, fs, options); } catch (MongoBulkWriteException ex) when (ex.WriteErrors.Any(x => x.Code == 11000)) { diff --git a/frontend/app/features/content/shared/content-value.component.ts b/frontend/app/features/content/shared/content-value.component.ts index 5c4c0226e..91b7dfac5 100644 --- a/frontend/app/features/content/shared/content-value.component.ts +++ b/frontend/app/features/content/shared/content-value.component.ts @@ -24,7 +24,6 @@ import { HtmlValue, Types } from '@app/shared'; } ::ng-deep .html-value img { position: absolute; - top: 50%; min-height: 50px; max-height: 50px; margin-top: -25px;