Improve admin
This commit is contained in:
parent
670c1f7cf2
commit
a9d223d976
@ -8,7 +8,14 @@ customElements.define('admin-edit-business', class extends Component {
|
||||
constructor() {
|
||||
super(`
|
||||
<style>
|
||||
:host { display: block; }
|
||||
:host {
|
||||
display: block;
|
||||
border-bottom: 2px solid var(--border-slim-color);
|
||||
padding: 8px 0;
|
||||
}
|
||||
:host(:first-child) {
|
||||
border-top: 2px solid var(--border-slim-color);
|
||||
}
|
||||
section {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
@ -19,11 +26,17 @@ customElements.define('admin-edit-business', class extends Component {
|
||||
#actions > input:not(:last-child) {
|
||||
margin-right: .5rem;
|
||||
}
|
||||
#actions > input {
|
||||
margin-bottom: 8px;
|
||||
width: 100%;
|
||||
}
|
||||
#actions select {
|
||||
width: 100%;
|
||||
}
|
||||
::slotted(admin-business) {
|
||||
width: 100%;
|
||||
}
|
||||
${ BUTTON_STYLE }
|
||||
${ INPUT_STYLE }
|
||||
${ BUTTON_STYLE }${ INPUT_STYLE }
|
||||
</style>
|
||||
<section>
|
||||
<slot></slot>
|
||||
|
@ -10,6 +10,8 @@ customElements.define('admin-edit-offer', class extends Component {
|
||||
<style>
|
||||
:host {
|
||||
display: block;
|
||||
border-bottom: 2px solid var(--border-slim-color);
|
||||
padding: 8px 0;
|
||||
}
|
||||
#view { display: block; }
|
||||
#actions form {
|
||||
@ -17,6 +19,7 @@ customElements.define('admin-edit-offer', class extends Component {
|
||||
}
|
||||
#actions form input {
|
||||
width: 100%;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
#state {
|
||||
font-weight: bold;
|
||||
|
Loading…
Reference in New Issue
Block a user