Skip to content

A platform for community discussion. Free, open, simple.

improving mobile upload modal alignment

Krisdfeaa34435a3
diff --git a/app/assets/stylesheets/mobile/upload.scss b/app/assets/stylesheets/mobile/upload.scss
index 0351700d599..2d487d8013a 100644
--- a/app/assets/stylesheets/mobile/upload.scss
+++ b/app/assets/stylesheets/mobile/upload.scss
@@ -1,6 +1,6 @@
.upload-selector {
input[type="text"]{
- width: 90%;
+ width: calc(100% - 20px);
}
input[type="file"] {
font-size: $font-0;
@@ -16,13 +16,16 @@
&:first-of-type {
margin-bottom: 1em;
}
- label {
- vertical-align: middle;
+ input, label {
+ min-height: 20px;
+ line-height: $line-height-medium;
+ margin: 0;
}
- input {
- line-height: $line-height-large;
+ .radio {
+ padding-left: 5px;
}
.inputs {
+ margin-top: 10px;
width: 100%;
}
}