From cc7bf4cef54409e34849c7a1a07f088d83746023 Mon Sep 17 00:00:00 2001 From: Kenn Jacobsen Date: Sat, 27 Apr 2019 22:28:00 +0200 Subject: [PATCH] Make it possible to open/view files in the media library --- .../src/less/property-editors.less | 5 ++-- .../upload/umb-property-file-upload.html | 27 ++++++++++++------- 2 files changed, 19 insertions(+), 13 deletions(-) diff --git a/src/Umbraco.Web.UI.Client/src/less/property-editors.less b/src/Umbraco.Web.UI.Client/src/less/property-editors.less index 8597087efa..4ac69503e8 100644 --- a/src/Umbraco.Web.UI.Client/src/less/property-editors.less +++ b/src/Umbraco.Web.UI.Client/src/less/property-editors.less @@ -762,8 +762,7 @@ } .umb-fileupload .file-icon { - text-align: center; - display: block; + display: inline-block; position: relative; padding: 5px 0; @@ -782,7 +781,7 @@ line-height: 130%; position: absolute; top: 45px; - left: 110px; + left: 10px; } } diff --git a/src/Umbraco.Web.UI.Client/src/views/components/upload/umb-property-file-upload.html b/src/Umbraco.Web.UI.Client/src/views/components/upload/umb-property-file-upload.html index dea532b7ea..6c73122464 100644 --- a/src/Umbraco.Web.UI.Client/src/views/components/upload/umb-property-file-upload.html +++ b/src/Umbraco.Web.UI.Client/src/views/components/upload/umb-property-file-upload.html @@ -26,19 +26,26 @@ -
- - - - .{{file.extension}} - +
+ + + + .{{file.extension}} - + - -
{{file.fileName}}
+
{{file.fileName}}
+ +
+ + + + .{{file.extension}} + + +
{{file.fileName}}
+
-