mirror of
https://github.com/schlagmichdoch/PairDrop.git
synced 2025-04-22 07:46:17 -04:00
Fullscreen drop and click area if only one buddy
This commit is contained in:
parent
e756a3fd0c
commit
30d07c4f28
1 changed files with 7 additions and 1 deletions
|
@ -53,10 +53,16 @@
|
|||
.url {
|
||||
color: #4285f4;
|
||||
}
|
||||
|
||||
[only] {
|
||||
@apply(--layout-fit);
|
||||
@apply(--layout-horizontal);
|
||||
@apply(--layout-center-center);
|
||||
}
|
||||
</style>
|
||||
<div class="buddies">
|
||||
<template is="dom-repeat" items="{{buddies}}">
|
||||
<file-input on-file-selected="_fileSelected">
|
||||
<file-input on-file-selected="_fileSelected" only$="{{!buddies.1}}">
|
||||
<user-avatar contact="{{item}}" class="buddy"></user-avatar>
|
||||
</file-input>
|
||||
</template>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue