瀏覽代碼

Edit Language Description Alignment

- The edit language cat_bar and information description block was pushed
right up against the block below, added 8px bottom margin to separate
the blocks, looks much better this way.
Matthew Kerle 12 年之前
父節點
當前提交
48470fa511
共有 2 個文件被更改,包括 7 次插入2 次删除
  1. 2 2
      Themes/default/ManageLanguages.template.php
  2. 5 0
      Themes/default/css/index.css

+ 2 - 2
Themes/default/ManageLanguages.template.php

@@ -244,12 +244,12 @@ function template_modify_language_entries()
 					', $txt['edit_languages'], '
 					', $txt['edit_languages'], '
 				</h3>
 				</h3>
 			</div>
 			</div>
-			<div class="information">
+			<div id="editlang_desc" class="information">
 				', $txt['edit_language_entries_primary'], '
 				', $txt['edit_language_entries_primary'], '
 			</div>';
 			</div>';
 
 
 	// Not writable?
 	// Not writable?
-	if ($context['lang_file_not_writable_message'])
+	if (!empty($context['lang_file_not_writable_message']))
 	{
 	{
 		// Oops, show an error for ya.
 		// Oops, show an error for ya.
 		echo '
 		echo '

+ 5 - 0
Themes/default/css/index.css

@@ -4039,6 +4039,11 @@ span.hidelink {
 	border: none;
 	border: none;
 	box-shadow: none;
 	box-shadow: none;
 }
 }
+
+div#editlang_desc {
+	margin-bottom: 8px;
+}
+
 /* Some caution required here, as Post.template.php topic summary shares #recent with recent posts. */
 /* Some caution required here, as Post.template.php topic summary shares #recent with recent posts. */
 #recent .core_posts {
 #recent .core_posts {
 	padding: 8px 0;
 	padding: 8px 0;