Add scrollbar when shared files overlap their container

master
Torjus 2018-08-01 14:21:33 +02:00
parent 14a70de586
commit d6ba237d57
2 changed files with 13 additions and 6 deletions

View File

@ -1,4 +1,8 @@
[data-component='FileSharing'] { [data-component='FileSharing'] {
display: flex;
flex-direction: column;
height: 100%;
> .sharing-toolbar { > .sharing-toolbar {
> .share-file { > .share-file {
cursor: pointer; cursor: pointer;
@ -16,6 +20,9 @@
} }
> .shared-files { > .shared-files {
flex-grow: 1;
overflow-y: scroll;
> .file-entry { > .file-entry {
background-color: rgba(0,0,0,0.1); background-color: rgba(0,0,0,0.1);
border-radius: 5px; border-radius: 5px;
@ -24,6 +31,10 @@
display: flex; display: flex;
margin-top: 0.5rem; margin-top: 0.5rem;
&:last-child {
margin-bottom: 1.5rem;
}
> .file-avatar { > .file-avatar {
height: 2rem; height: 2rem;
border-radius: 50%; border-radius: 50%;

View File

@ -2888,14 +2888,12 @@
"balanced-match": { "balanced-match": {
"version": "1.0.0", "version": "1.0.0",
"bundled": true, "bundled": true,
"dev": true, "dev": true
"optional": true
}, },
"brace-expansion": { "brace-expansion": {
"version": "1.1.11", "version": "1.1.11",
"bundled": true, "bundled": true,
"dev": true, "dev": true,
"optional": true,
"requires": { "requires": {
"balanced-match": "^1.0.0", "balanced-match": "^1.0.0",
"concat-map": "0.0.1" "concat-map": "0.0.1"
@ -2915,8 +2913,7 @@
"concat-map": { "concat-map": {
"version": "0.0.1", "version": "0.0.1",
"bundled": true, "bundled": true,
"dev": true, "dev": true
"optional": true
}, },
"console-control-strings": { "console-control-strings": {
"version": "1.1.0", "version": "1.1.0",
@ -3064,7 +3061,6 @@
"version": "3.0.4", "version": "3.0.4",
"bundled": true, "bundled": true,
"dev": true, "dev": true,
"optional": true,
"requires": { "requires": {
"brace-expansion": "^1.1.7" "brace-expansion": "^1.1.7"
} }