mirror of
https://github.com/schlagmichdoch/PairDrop.git
synced 2025-05-04 05:29:15 -04:00
modify layout for better viewing the own name
This commit is contained in:
parent
2883cdb270
commit
ffc3207d23
3 changed files with 31 additions and 2 deletions
|
@ -81,11 +81,16 @@
|
|||
<p id="pasteFilename"></p>
|
||||
</x-instructions>
|
||||
<!-- Footer -->
|
||||
<myname class="column font-body3">
|
||||
<h2>
|
||||
<div id="displayName" placeholder=" "></div>
|
||||
</h2>
|
||||
</myname>
|
||||
<footer class="column">
|
||||
<svg class="icon logo">
|
||||
<use xlink:href="#wifi-tethering" />
|
||||
</svg>
|
||||
<div id="displayName" placeholder=" "></div>
|
||||
<!--div id="displayName" placeholder=" "></div-->
|
||||
<div class="font-body2">
|
||||
You can be discovered by everyone <span id="on-this-network">on this network</span>
|
||||
<span id="and-by-paired-devices" hidden> and by <span id="paired-devices">paired devices</span></span>
|
||||
|
|
|
@ -830,6 +830,15 @@ class Events {
|
|||
RTCPeer.config = {
|
||||
'sdpSemantics': 'unified-plan',
|
||||
'iceServers': [
|
||||
{
|
||||
urls: 'stun:stun.schuerz.at:5349'
|
||||
},
|
||||
{
|
||||
urls: 'turn:turn.schuerz.at:5349',
|
||||
username: 'local',
|
||||
credential: 'thu2aewo1iv8uFavoP8aichaiwai7zeech7o',
|
||||
},
|
||||
/*
|
||||
{
|
||||
urls: 'stun:stun.l.google.com:19302'
|
||||
},
|
||||
|
@ -841,5 +850,6 @@ RTCPeer.config = {
|
|||
username: 'openrelayproject',
|
||||
credential: 'openrelayproject',
|
||||
},
|
||||
*/
|
||||
]
|
||||
}
|
||||
|
|
|
@ -357,8 +357,22 @@ x-peer[drop] x-icon {
|
|||
transform: scale(1.1);
|
||||
}
|
||||
|
||||
/* NameHeader */
|
||||
myname {
|
||||
position: absolute;
|
||||
top: 5%;
|
||||
left: 0;
|
||||
right: 0;
|
||||
align-items: center;
|
||||
padding: 0 0 16px 0;
|
||||
text-align: center;
|
||||
transition: color 300ms;
|
||||
}
|
||||
|
||||
|
||||
myname .font-body3 {
|
||||
color: var(--primary-color);
|
||||
margin: auto 32px;
|
||||
}
|
||||
/* Footer */
|
||||
|
||||
footer {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue