snapdrop

A Progressive Web App for local file sharing
git clone http://git.hanabi.in/repos/snapdrop.git
Log | Files | Refs | README | LICENSE

commit 30d07c4f28f3e32d4f4a075562c499f456a65e92
parent e756a3fd0c6eba5727a772716529bc2cdd76293c
Author: Robin Linus <robin_woll@capira.de>
Date:   Wed, 30 Dec 2015 18:32:04 +0100

Fullscreen drop and click area if only one buddy

Diffstat:
Mapp/elements/buddy-finder/buddy-finder.html | 8+++++++-
1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/app/elements/buddy-finder/buddy-finder.html b/app/elements/buddy-finder/buddy-finder.html @@ -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>