Theme editor font sizing and layout fixes from ionfish. see #5890
git-svn-id: http://svn.automattic.com/wordpress/trunk@6890 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
878dd99bc2
commit
df65d131ab
|
@ -1,5 +1,10 @@
|
||||||
#template textarea {
|
#template textarea {
|
||||||
font: small 'Courier New', Courier, monospace;
|
font-family: 'Courier New', Courier, monospace;
|
||||||
|
font-size: 12px;
|
||||||
|
width: 97%;
|
||||||
|
}
|
||||||
|
|
||||||
|
#template p {
|
||||||
width: 97%;
|
width: 97%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -152,6 +152,8 @@ if ($allowed_files) :
|
||||||
<input type="hidden" name="file" value="<?php echo $file ?>" />
|
<input type="hidden" name="file" value="<?php echo $file ?>" />
|
||||||
<input type="hidden" name="theme" value="<?php echo $theme ?>" />
|
<input type="hidden" name="theme" value="<?php echo $theme ?>" />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div>
|
||||||
<?php if ( is_writeable($real_file) ) : ?>
|
<?php if ( is_writeable($real_file) ) : ?>
|
||||||
<p class="submit">
|
<p class="submit">
|
||||||
<?php
|
<?php
|
||||||
|
@ -161,6 +163,7 @@ if ($allowed_files) :
|
||||||
<?php else : ?>
|
<?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>
|
<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; ?>
|
<?php endif; ?>
|
||||||
|
</div>
|
||||||
</form>
|
</form>
|
||||||
<?php
|
<?php
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue