From 9302027d9c75725c5b0013225168a7248cd123f9 Mon Sep 17 00:00:00 2001 From: Sean Harvey Date: Mon, 14 Dec 2009 01:19:13 +0000 Subject: [PATCH] BUGFIX #4848 FileIFrameField visual problem where the preview image is hidden if the TreeDropdownField gets too long for selecting a file git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@95084 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- css/FileIFrameField.css | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/css/FileIFrameField.css b/css/FileIFrameField.css index 3278d8c8a..3369290bf 100644 --- a/css/FileIFrameField.css +++ b/css/FileIFrameField.css @@ -150,16 +150,20 @@ div.TreeDropdownField a.editLink { } .mainblock { - float: left; - border: 1px #CCC solid; - padding: 5px; + float: left; + border: 1px solid #ccc; + padding: 5px; margin-right: 5px; height: 140px; position: relative; } - .mainblock.editform { - width: 290px; + width: 250px; + } + .mainblock.attached { + position: absolute; + left: 270px; + width: 100px; } .mainblock form fieldset {