Browse Source

[svn r22421] FS#2867 - The online editorr: Resizing the prompt dialog, adding style.

Ivan Tcholakov 15 years ago
parent
commit
4d337606d2

+ 4 - 1
main/inc/lib/fckeditor/editor/plugins/prompt/fck_prompt.html

@@ -58,9 +58,12 @@ window.onload = function()
 }
 
 		</script>
+		<style>
+			body, td, input, textarea, select, label {font-family: Verdana, Geneva, Arial, helvetica, sans-serif; font-size: 10px; }
+		</style>
 	</head>
 	<body scroll="no" style="overflow: hidden;">
-		<div style="margin-top: 30px; margin-bottom: 30px; margin-right: auto; margin-left: auto; width: 100%;" align="center">
+		<div style="margin-top: 25px; margin-bottom: 25px; margin-right: auto; margin-left: auto; width: 100%;" align="center">
 			<span id="message"></span><br />
 			<input id="inputfield" type="text" style="width: 100%;"/>
 		</div>

+ 1 - 1
main/inc/lib/fckeditor/editor/plugins/prompt/fckplugin.js

@@ -41,7 +41,7 @@ FCKDialog.Prompt = function( message, default_value, action, title, width, heigh
 
 	if ( !height )
 	{
-		height = 235 ;
+		height = 200 ;
 	}
 
 	var custom_value = {} ;