fix: move CRUD header buttons toward center of screen
having them all the way to the right just means more mouse movement required, plus that area is too cluttered
This commit is contained in:
parent
89ff90c60c
commit
ede9ae60b4
|
@ -277,17 +277,21 @@
|
|||
% if capture(self.content_title):
|
||||
<section id="content-title"
|
||||
class="has-background-primary">
|
||||
<div style="display: flex; align-items: center; padding: 0.5rem;">
|
||||
<div style="display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem;">
|
||||
|
||||
<h1 class="title has-text-white"
|
||||
v-html="contentTitleHTML">
|
||||
</h1>
|
||||
<div style="width: 60%; display: flex; gap: 0.5rem;">
|
||||
|
||||
<h1 class="title has-text-white"
|
||||
v-html="contentTitleHTML">
|
||||
</h1>
|
||||
|
||||
<div style="display: flex; gap: 0.5rem;">
|
||||
${self.render_instance_header_title_extras()}
|
||||
</div>
|
||||
|
||||
<div style="flex-grow: 1; display: flex; gap: 0.5rem;">
|
||||
${self.render_instance_header_title_extras()}
|
||||
</div>
|
||||
|
||||
<div style="display: flex; gap: 0.5rem;">
|
||||
<div style="width: 40%; display: flex; gap: 0.5rem;">
|
||||
${self.render_instance_header_buttons()}
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in a new issue