mirror of
https://github.com/responsively-org/responsively-app
synced 2024-09-20 22:31:59 +00:00
App bugfixes
This commit is contained in:
parent
9c1ade1784
commit
7074f38082
4 changed files with 9 additions and 6 deletions
|
@ -93,7 +93,11 @@ class AddressBar extends React.Component<Props> {
|
|||
|
||||
_normalize = address => {
|
||||
if (!address.startsWith('http')) {
|
||||
address = 'https://' + address;
|
||||
let protocol = 'https://';
|
||||
if (address.startsWith('localhost') || address.startsWith('127.0.0.1')) {
|
||||
protocol = 'http://';
|
||||
}
|
||||
address = `${protocol}${address}`;
|
||||
}
|
||||
return address;
|
||||
};
|
||||
|
|
|
@ -3,6 +3,6 @@
|
|||
background: #00000030;
|
||||
border-radius: 10px;
|
||||
border: 1px solid lightgrey;
|
||||
height: 80%;
|
||||
height: 70vh;
|
||||
overflow: scroll;
|
||||
}
|
||||
|
|
|
@ -99,8 +99,7 @@ export default function DeviceManager(props) {
|
|||
</AppBar>
|
||||
<div className={styles.container}>
|
||||
<p className={styles.toolTip}>
|
||||
<span>✨</span>Drag and drop the devices across as needed to
|
||||
re-order them.
|
||||
<span>✨</span>Drag and drop the devices across to re-order them.
|
||||
</p>
|
||||
<DragDropContext onDragEnd={onDragEnd}>
|
||||
<Grid container spacing={3} className={styles.content}>
|
||||
|
|
|
@ -28,12 +28,12 @@ const Header = function() {
|
|||
<HttpAuthDialog />
|
||||
<ToastContainer
|
||||
position="top-right"
|
||||
autoClose={4000}
|
||||
autoClose={3000}
|
||||
hideProgressBar
|
||||
newestOnTop={false}
|
||||
closeOnClick
|
||||
pauseOnFocusLoss={false}
|
||||
rtl={false}
|
||||
pauseOnVisibilityChange
|
||||
draggable
|
||||
pauseOnHover
|
||||
toastClassName={styles.darkToast}
|
||||
|
|
Loading…
Reference in a new issue