Move inline styles to wp-admin.css. see #4068
git-svn-id: http://svn.automattic.com/wordpress/trunk@5182 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
c864976754
commit
c2ab78d52c
|
@ -147,9 +147,9 @@ endforeach;
|
|||
<legend><?php _e('Post') ?>
|
||||
|
||||
<?php if ( 'publish' == $post->post_status ) { ?>
|
||||
<a href="<?php echo clean_url(get_permalink($post->ID)); ?>" style="position: absolute; right: 2em; margin-right: 19em; text-decoration: underline;" target="_blank"><?php _e('View »'); ?></a>
|
||||
<a href="<?php echo clean_url(get_permalink($post->ID)); ?>" class="view-link" target="_blank"><?php _e('View »'); ?></a>
|
||||
<?php } elseif ( 'edit' == $action ) { ?>
|
||||
<a href="<?php echo clean_url(apply_filters('preview_post_link', add_query_arg('preview', 'true', get_permalink($post->ID)))); ?>" style="position: absolute; right: 2em; margin-right: 19em; text-decoration: underline;" target="_blank"><?php _e('Preview »'); ?></a>
|
||||
<a href="<?php echo clean_url(apply_filters('preview_post_link', add_query_arg('preview', 'true', get_permalink($post->ID)))); ?>" class="view-link" target="_blank"><?php _e('Preview »'); ?></a>
|
||||
<?php } ?>
|
||||
</legend>
|
||||
|
||||
|
|
|
@ -1332,3 +1332,10 @@ a.page-numbers:hover {
|
|||
font-weight: bold;
|
||||
margin: 0 6px;
|
||||
}
|
||||
|
||||
a.view-link {
|
||||
position: absolute;
|
||||
right: 2em;
|
||||
margin-right: 19em;
|
||||
text-decoration:underline;
|
||||
}
|
Loading…
Reference in New Issue