mirror of
https://github.com/schlagmichdoch/PairDrop.git
synced 2025-04-20 15:06:15 -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 {
|
.url {
|
||||||
color: #4285f4;
|
color: #4285f4;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[only] {
|
||||||
|
@apply(--layout-fit);
|
||||||
|
@apply(--layout-horizontal);
|
||||||
|
@apply(--layout-center-center);
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
<div class="buddies">
|
<div class="buddies">
|
||||||
<template is="dom-repeat" items="{{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>
|
<user-avatar contact="{{item}}" class="buddy"></user-avatar>
|
||||||
</file-input>
|
</file-input>
|
||||||
</template>
|
</template>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue