Commit f35dd42d authored by merlinofchaos's avatar merlinofchaos

#256949: Restore "remove display" button which had removed itself due to other CSS.

parent 34fcaba8
......@@ -168,11 +168,6 @@ div.views-display-deleted div.tab-section {
margin: 0;
}
.views-display #views-add-display-form {
float: right;
margin-bottom: 0;
}
.views-display .middle {
width: 34%;
}
......@@ -555,7 +550,20 @@ html.js .views-hidden {
padding-right: 3px;
}
.views-tabset input,
.views-tabset textarea {
#views-ajax-pad input,
#views-ajax-pad textarea {
max-width: 95%;
}
.remove-display {
float: right;
margin: 0;
padding: .2em 1em 0 0;
position: relative;
top: .1em;
}
.views-display .remove-display form,
.remove-display input {
margin: 0 !important;
}
......@@ -1554,7 +1554,6 @@ function views_ui_remove_display_form(&$form_state) {
);
}
$form['#action'] = url("admin/build/views/nojs/remove-display/$view->name/$display_id");
$form['#id'] = 'views-add-display-form';
$form['#attributes'] = array('class' => 'views-ajax-form');
return $form;
......
......@@ -7,10 +7,12 @@
?>
<div class="clear-block views-display views-display-<?php print $display->id; if (!empty($display->deleted)) { print ' views-display-deleted'; }; ?>">
<?php // top section ?>
<?php if ($remove): ?>
<div class="remove-display"><?php print $remove ?></div>
<?php endif; ?>
<div class="top">
<div class="inside">
<?php print $display_help_icon; ?>
<?php print $remove ?>
<span class="display-title">
<?php print $title; ?>
</span>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment