Browse Source

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 years ago
parent
commit
48470fa511
2 changed files with 7 additions and 2 deletions
  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'], '
 				</h3>
 			</div>
-			<div class="information">
+			<div id="editlang_desc" class="information">
 				', $txt['edit_language_entries_primary'], '
 			</div>';
 
 	// Not writable?
-	if ($context['lang_file_not_writable_message'])
+	if (!empty($context['lang_file_not_writable_message']))
 	{
 		// Oops, show an error for ya.
 		echo '

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

@@ -4039,6 +4039,11 @@ span.hidelink {
 	border: 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. */
 #recent .core_posts {
 	padding: 8px 0;