More styling tweaks
This commit is contained in:
@@ -18,24 +18,26 @@
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
#capture {
|
|
||||||
width: 20ch;
|
|
||||||
}
|
|
||||||
|
|
||||||
#config {
|
#config {
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
max-height: 100vh;
|
max-height: 100vh;
|
||||||
padding-left: 5px;
|
padding-left: 5px;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
border-left: 3px solid black;
|
border-left: 3px solid #777;
|
||||||
|
}
|
||||||
|
|
||||||
|
#config .pure-button {
|
||||||
|
margin: 1px;
|
||||||
|
width: 20ch;
|
||||||
}
|
}
|
||||||
|
|
||||||
#config label {
|
#config label {
|
||||||
max-width: 40%;
|
width: 40%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#config input,
|
||||||
#config select {
|
#config select {
|
||||||
max-width: 50%;
|
width: 50%;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<script type="importmap">
|
<script type="importmap">
|
||||||
|
|||||||
@@ -199,6 +199,9 @@ class App extends Component {
|
|||||||
h(
|
h(
|
||||||
'form',
|
'form',
|
||||||
{ class: 'pure-form pure-form-aligned' },
|
{ class: 'pure-form pure-form-aligned' },
|
||||||
|
h(
|
||||||
|
'fieldset',
|
||||||
|
null,
|
||||||
this.connection.supportedOps.triggerCapture
|
this.connection.supportedOps.triggerCapture
|
||||||
? h(CaptureButton, { getFile: this.captureImage })
|
? h(CaptureButton, { getFile: this.captureImage })
|
||||||
: undefined,
|
: undefined,
|
||||||
@@ -211,6 +214,7 @@ class App extends Component {
|
|||||||
target: '_blank'
|
target: '_blank'
|
||||||
},
|
},
|
||||||
'⭐ Star on Github'
|
'⭐ Star on Github'
|
||||||
|
)
|
||||||
),
|
),
|
||||||
h(Widget, { config: state.config, setValue: this.setValue })
|
h(Widget, { config: state.config, setValue: this.setValue })
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user