Dirty hotfix for mobile

This commit is contained in:
redfast00 2019-03-27 20:24:49 +01:00
parent b44e288070
commit 8f8bb86d3d
No known key found for this signature in database
GPG key ID: 5946E0E34FD0553C
2 changed files with 29 additions and 2 deletions

View file

@ -28,7 +28,7 @@ Amount = React.createFactory React.createClass
t.value = parseFloat(t.value).toFixed(2) if t.value
render: ->
div className: 'row',
div className: 'col-xs-4',
div className: 'col-xs-8',
div className: 'input-group',
div className: 'input-group-addon', ''
input {
@ -61,7 +61,7 @@ Peer = React.createFactory React.createClass
render: ->
options = @options()
div className: 'row',
div className: 'col-xs-4',
div className: 'col-xs-8',
div className: 'suggestions-wrapper',
input {
className: @inputClass(options.length),

View file

@ -23,6 +23,33 @@
}
}
@media only screen and (max-width: 800px) {
.pure-u-7-12 {
float: left;
width: 100% !important;
}
.pure-u-5-12 {
float: left;
clear: both;
width: 100% !important;
}
.pure-g {
display: block !important;
}
.pure-u-5-12 .input-group {
width: 100% !important;
}
// .pure-u-5-12 .col-xs-4 {
// width: 100% !important;
// }
}
a.login-button {
font-size: 200%;
}