Web: Files: Added styles to separate file.
This commit is contained in:
parent
e12db8fe11
commit
3fa967fd39
@ -2,34 +2,15 @@ import React from "react";
|
||||
import { Provider as MobxProvider } from "mobx-react";
|
||||
import { I18nextProvider } from "react-i18next";
|
||||
import { withTranslation } from "react-i18next";
|
||||
import styled from "styled-components";
|
||||
import PropTypes from "prop-types";
|
||||
import i18n from "./i18n";
|
||||
import stores from "../../../store/index";
|
||||
import FileInputWithFolderPath from "./fileInputWithFolderPath";
|
||||
import SelectFolderDialog from "../SelectFolderDialog/index";
|
||||
import StyledComponent from "./styledSelectFolderInput";
|
||||
|
||||
let path = "";
|
||||
|
||||
const StyledComponent = styled.div`
|
||||
.input-with-folder-path {
|
||||
margin-top: 16px;
|
||||
}
|
||||
.input-with-folder-path,
|
||||
.text-input-with-folder-path {
|
||||
width: 100%;
|
||||
max-width: 820px;
|
||||
}
|
||||
.panel-loader-wrapper {
|
||||
margin-top: 8px;
|
||||
padding-left: 32px;
|
||||
}
|
||||
.panel-loader {
|
||||
display: inline;
|
||||
margin-right: 10px;
|
||||
}
|
||||
`;
|
||||
|
||||
class SelectFolder extends React.PureComponent {
|
||||
constructor(props) {
|
||||
super(props);
|
||||
|
@ -0,0 +1,22 @@
|
||||
import styled from "styled-components";
|
||||
|
||||
const StyledComponent = styled.div`
|
||||
.input-with-folder-path {
|
||||
margin-top: 16px;
|
||||
}
|
||||
.input-with-folder-path,
|
||||
.text-input-with-folder-path {
|
||||
width: 100%;
|
||||
max-width: 820px;
|
||||
}
|
||||
.panel-loader-wrapper {
|
||||
margin-top: 8px;
|
||||
padding-left: 32px;
|
||||
}
|
||||
.panel-loader {
|
||||
display: inline;
|
||||
margin-right: 10px;
|
||||
}
|
||||
`;
|
||||
|
||||
export default StyledComponent;
|
Loading…
Reference in New Issue
Block a user