Fix styles

This commit is contained in:
Jan Tuomi
2019-03-13 18:36:23 +02:00
parent 2d0c33c024
commit 3547a7d773
7 changed files with 23 additions and 40 deletions
@@ -0,0 +1,11 @@
.datetime-widget {
display: flex;
flex-flow: row nowrap;
justify-content: flex-start;
width: 100%;
margin: 0 -0.5rem 0.5rem;
> input {
margin: 0 0.5rem;
}
}
@@ -1,4 +1,5 @@
import * as React from "react";
import "./DatetimeWidget.scss";
export interface DatetimeWidgetProps {
value: string;
@@ -12,6 +12,6 @@
display: flex;
flex-flow: column nowrap;
padding: 0.5rem;
background-color: $green;
background-color: $light-blue;
}
}
@@ -16,6 +16,10 @@
width: 100%;
}
.rjsf {
max-width: 600px;
}
label {
margin-bottom: 0.5rem;
}
+2 -13
View File
@@ -24,13 +24,8 @@
input[type="text"],
textarea,
select,
.datetime-widget {
width: 20rem;
@media screen and (max-width: 800px - 1px) {
width: 100%;
}
select {
width: 100%;
}
legend {
@@ -56,10 +51,4 @@
}
}
}
.datetime-widget {
display: flex;
flex-flow: row nowrap;
justify-content: space-between;
}
}
+2 -13
View File
@@ -24,13 +24,8 @@
input[type="text"],
textarea,
select,
.datetime-widget {
width: 20rem;
@media screen and (max-width: 800px - 1px) {
width: 100%;
}
select {
width: 100%;
}
legend {
@@ -56,10 +51,4 @@
}
}
}
.datetime-widget {
display: flex;
flex-flow: row nowrap;
justify-content: space-between;
}
}
@@ -24,13 +24,8 @@
input[type="text"],
textarea,
select,
.datetime-widget {
width: 20rem;
@media screen and (max-width: 800px - 1px) {
width: 100%;
}
select {
width: 100%;
}
legend {
@@ -56,10 +51,4 @@
}
}
}
.datetime-widget {
display: flex;
flex-flow: row nowrap;
justify-content: space-between;
}
}