Skip to content

Commit

Permalink
Position of admin search.
Browse files Browse the repository at this point in the history
  • Loading branch information
gjb2048 committed Jul 1, 2023
1 parent d4d9775 commit 7c0c043
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion classes/output/core_renderer.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public function full_header() {
$html .= html_writer::start_div('col-12');
}
if ($contextheader) {
$html .= html_writer::start_div('pull-left');
$html .= html_writer::start_div('squaredcontextheader d-inline-block');
$html .= $contextheader;
$html .= html_writer::end_div();
}
Expand Down
4 changes: 4 additions & 0 deletions scss/_header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,10 @@
}
}

.squaredcontextheader {
vertical-align: top;
}

.context-header-settings-menu,
.region-main-settings-menu {
padding: 2px;
Expand Down
2 changes: 1 addition & 1 deletion templates/header_actions.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"headeractions": []
}
}}
<div class="header-actions-container ml-auto" data-region="header-actions-container">
<div class="header-actions-container d-inline-block ml-auto" data-region="header-actions-container">
{{#headeractions}}
<div class="header-action ml-2">{{{.}}}</div>
{{/headeractions}}
Expand Down

0 comments on commit 7c0c043

Please sign in to comment.