Commit 89079151 authored by Nicolas Pernoud's avatar Nicolas Pernoud
Browse files

fix: safari compatibility issues

parent 1cc6b5e0
Pipeline #6675 passed with stages
in 2 minutes and 50 seconds
......@@ -9,10 +9,10 @@ require (
github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e // indirect
github.com/oschwald/maxminddb-golang v1.7.0
github.com/secure-io/sio-go v0.3.1
golang.org/x/crypto v0.0.0-20200709230013-948cd5f35899
golang.org/x/crypto v0.0.0-20200728195943-123391ffb6de
golang.org/x/net v0.0.0-20200707034311-ab3426394381
golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d
golang.org/x/sys v0.0.0-20200722175500-76b94024e4b6
golang.org/x/sys v0.0.0-20200808120158-1030fc2bf1d9
golang.org/x/text v0.3.3 // indirect
google.golang.org/appengine v1.6.6 // indirect
google.golang.org/protobuf v1.25.0 // indirect
......
......@@ -50,8 +50,8 @@ github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
golang.org/x/crypto v0.0.0-20200302210943-78000ba7a073/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
golang.org/x/crypto v0.0.0-20200709230013-948cd5f35899 h1:DZhuSZLsGlFL4CmhA8BcRA0mnthyA/nZ00AqCUo7vHg=
golang.org/x/crypto v0.0.0-20200709230013-948cd5f35899/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
golang.org/x/crypto v0.0.0-20200728195943-123391ffb6de h1:ikNHVSjEfnvz6sxdSPCaPt572qowuyMDMJLLm3Db3ig=
golang.org/x/crypto v0.0.0-20200728195943-123391ffb6de/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE=
golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU=
......@@ -80,10 +80,8 @@ golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7w
golang.org/x/sys v0.0.0-20191224085550-c709ea063b76/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200302150141-5c8b2ff67527/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200625212154-ddb9806d33ae h1:Ih9Yo4hSPImZOpfGuA4bR/ORKTAbhZo2AbWNRCnevdo=
golang.org/x/sys v0.0.0-20200625212154-ddb9806d33ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200722175500-76b94024e4b6 h1:X9xIZ1YU8bLZA3l6gqDUHSFiD0GFI9S548h6C8nDtOY=
golang.org/x/sys v0.0.0-20200722175500-76b94024e4b6/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200808120158-1030fc2bf1d9 h1:yi1hN8dcqI9l8klZfy4B8mJvFmmAxJEePIQQFNSd7Cs=
golang.org/x/sys v0.0.0-20200808120158-1030fc2bf1d9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/text v0.3.0 h1:g61tztE5qeGQ89tm6NTjjM9VPIm088od1l6aSorWRWg=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.2 h1:tW2bmiBqwgJj/UpqtC8EpXEZVYOwU0yG4iWbprSVAcs=
......
......@@ -125,9 +125,9 @@ a.navbar-item.is-active {
.notification {
z-index: 100;
position: fixed;
left: 45vw;
left: 45%;
bottom: 1rem;
width: 50vw;
width: 50%;
transition: all 0.5s ease;
}
......@@ -136,7 +136,7 @@ a.navbar-item.is-active {
}
.uploader {
left: 5vw;
left: 5%;
.content {
overflow-wrap: break-word;
}
......@@ -166,4 +166,10 @@ a.navbar-item.is-active {
.modal-content {
background-color: $very-light-grey;
border-radius: $radius-large;
max-width: 90%;
}
.modal-card {
width: 95%;
max-height: 95%;
}
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -495,7 +495,7 @@ function openWebview(app) {
webview.classList.add("modal", "is-active");
webview.innerHTML = /* HTML */ `
<div class="modal-background animate__animated animate__fadeIn"></div>
<div class="modal-card animate__animated animate__zoomIn" style="width: 90vw;">
<div class="modal-card animate__animated animate__zoomIn">
<header class="modal-card-head">
<p class="modal-card-title">${app.name}</p>
<button class="delete" aria-label="close" id="apps-webview-close"></button>
......
......@@ -24,7 +24,7 @@ export class Share {
shareModal.innerHTML = /* HTML */ `
<div class="modal-background"></div>
<div class="modal-content">
<div class="box" style="margin: 2rem;">
<div class="box">
<div class="field">
<label class="label">Share with</label>
<div class="control">
......@@ -79,7 +79,7 @@ export class Share {
resultModal.innerHTML = /* HTML */ `
<div class="modal-background"></div>
<div class="modal-content">
<div class="box" style="margin: 2rem;">
<div class="box">
<div class="content is-small">
<h1>This link will be available during ${lifespan} days</h1>
<a href="${this.fullURL + "?token=" + encodeURIComponent(shareToken)}" class="button">
......
......@@ -13,9 +13,9 @@
--animate-duration: 0.25s;
}
</style>
<script defer src="assets/fontawesome/solid.min.js"></script>
<script defer src="assets/fontawesome/fontawesome.min.js"></script>
<script defer type="module" src="main.js"></script>
<script defer src="assets/fontawesome/fontawesome.min.js"></script>
<script defer src="assets/fontawesome/solid.min.js"></script>
</head>
<body>
<!-- Navbar -->
......@@ -32,7 +32,7 @@
<div class="navbar-brand">
<div class="navbar-item">
<a class="button is-primary is-rounded is-outlined" href="https://www.github.com/nicolaspernoud/Vestibule" target="_blank" rel="noopener noreferrer">
<span>4.3.34</span>
<span>4.3.35</span>
<span class="icon">
<svg
class="svg-inline--fa fa-github fa-w-16"
......
......@@ -8,7 +8,7 @@ export class Delete {
deleteModal.innerHTML = /* HTML */ `
<div class="modal-background"></div>
<div class="modal-content">
<div class="box" style="margin: 2rem;">
<div class="box">
<div class="field">
<label class="label">Confirm</label>
</div>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment