Fix scene edit page for smaller screens

This commit is contained in:
Infinite 2020-02-29 21:28:33 +01:00
parent dba4b350a0
commit 5b6a3a7732
4 changed files with 11 additions and 8 deletions

View file

@ -292,7 +292,7 @@ export const SceneEditPanel: React.FC<IProps> = (props: IProps) => {
return (
<div className="form-container row">
<div className="col-6">
<div className="col-12 col-lg-6">
<Table id="scene-edit-details">
<tbody>
{TableUtils.renderInputGroup({
@ -315,7 +315,7 @@ export const SceneEditPanel: React.FC<IProps> = (props: IProps) => {
</td>
</tr>
{TableUtils.renderInputGroup({
title: "Date (YYYY-MM-DD)",
title: "Date",
value: date,
isEditing: true,
onChange: setDate
@ -372,7 +372,7 @@ export const SceneEditPanel: React.FC<IProps> = (props: IProps) => {
</tbody>
</Table>
</div>
<div className="col-5 offset-1">
<div className="col-12 col-lg-6">
<Form.Group controlId="details">
<Form.Label>Details</Form.Label>
<Form.Control

View file

@ -101,10 +101,6 @@
min-height: 150px;
}
.edit-buttons {
padding-left: 2rem;
}
.primary-card {
margin: 1rem 0;

View file

@ -239,7 +239,6 @@ code {
.image-input {
margin-bottom: 0;
margin-left: .5rem;
overflow: hidden;
position: relative;

View file

@ -121,6 +121,14 @@ hr {
border: none;
border-color: rgba(255, 255, 255, .15);
padding: .25rem .75rem;
&:first-child {
padding-left: 0;
}
&:last-child {
padding-right: 0;
}
}
a {