Theme editor font sizing and layout fixes from ionfish. see #5890

git-svn-id: https://develop.svn.wordpress.org/trunk@6890 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2008-02-17 22:23:04 +00:00
parent 48c3643653
commit d5bc2c5b0f
3 changed files with 88 additions and 80 deletions

View File

@ -1,5 +1,10 @@
#template textarea {
font: small 'Courier New', Courier, monospace;
font-family: 'Courier New', Courier, monospace;
font-size: 12px;
width: 97%;
}
#template p {
width: 97%;
}

View File

@ -152,6 +152,8 @@ if ($allowed_files) :
<input type="hidden" name="file" value="<?php echo $file ?>" />
<input type="hidden" name="theme" value="<?php echo $theme ?>" />
</div>
<div>
<?php if ( is_writeable($real_file) ) : ?>
<p class="submit">
<?php
@ -161,6 +163,7 @@ if ($allowed_files) :
<?php else : ?>
<p><em><?php _e('You need to make this file writable before you can save your changes. See <a href="http://codex.wordpress.org/Changing_File_Permissions">the Codex</a> for more information.'); ?></em></p>
<?php endif; ?>
</div>
</form>
<?php
} else {