Merge pull request #31 from NebulousLabs/uploaded-files-overflowing-on-mobile
fixes overflowing of long unbreakable file names on mobile
This commit is contained in:
commit
8ff073a3fb
|
@ -4,13 +4,18 @@
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
padding: 20px 0;
|
padding: 20px 0;
|
||||||
|
flex-wrap: wrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
.upload-file-icon {
|
.upload-file-icon {
|
||||||
display: block;
|
display: none;
|
||||||
min-width: 36px;
|
|
||||||
width: 36px;
|
@media (min-width: $largebp) {
|
||||||
max-width: 36px;
|
display: block;
|
||||||
|
min-width: 36px;
|
||||||
|
width: 36px;
|
||||||
|
max-width: 36px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.upload-file-text {
|
.upload-file-text {
|
||||||
|
@ -22,6 +27,7 @@
|
||||||
margin-bottom: 5px;
|
margin-bottom: 5px;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
|
word-break: break-all;
|
||||||
|
|
||||||
@media (min-width: $largebp) {
|
@media (min-width: $largebp) {
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
|
@ -38,7 +44,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.url {
|
.url {
|
||||||
word-break: break-word;
|
word-break: break-all;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
|
@ -54,6 +60,11 @@
|
||||||
.upload-file-copy {
|
.upload-file-copy {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
|
@media (max-width: $largebp) {
|
||||||
|
flex-basis: 100%;
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
color: $green;
|
color: $green;
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue