Browse Source

Fix image positioning.

pull/468/head
Sebastian 7 years ago
parent
commit
67a0df04e2
  1. 2
      backend/src/Squidex.Domain.Apps.Entities.MongoDb/FullText/MongoIndexOutput.cs
  2. 1
      frontend/app/features/content/shared/content-value.component.ts

2
backend/src/Squidex.Domain.Apps.Entities.MongoDb/FullText/MongoIndexOutput.cs

@ -67,7 +67,7 @@ namespace Squidex.Domain.Apps.Entities.MongoDb.FullText
try 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)) catch (MongoBulkWriteException ex) when (ex.WriteErrors.Any(x => x.Code == 11000))
{ {

1
frontend/app/features/content/shared/content-value.component.ts

@ -24,7 +24,6 @@ import { HtmlValue, Types } from '@app/shared';
} }
::ng-deep .html-value img { ::ng-deep .html-value img {
position: absolute; position: absolute;
top: 50%;
min-height: 50px; min-height: 50px;
max-height: 50px; max-height: 50px;
margin-top: -25px; margin-top: -25px;

Loading…
Cancel
Save