소스 검색

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'], '
 				</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;