Small tweaks

This commit is contained in:
Pieter Vander Vennet 2020-07-29 15:54:44 +02:00
parent f9e0735378
commit 21dd38c3c7
3 changed files with 8 additions and 4 deletions

View file

@ -150,6 +150,7 @@ export class ShareScreen extends UIElement {
tr.intro, tr.intro,
this._link, this._link,
this._linkStatus, this._linkStatus,
tr.addToHomeScreen,
tr.embedIntro, tr.embedIntro,
this._options, this._options,
this._iframeCode this._iframeCode

View file

@ -688,8 +688,11 @@ export default class Translations {
intro: new T({ intro: new T({
en: "<h3>Share this map</h3> Share this map by copying the link below and sending it to friends and family:" en: "<h3>Share this map</h3> Share this map by copying the link below and sending it to friends and family:"
}), }),
addToHomeScreen: new T({
en: "<h3>Add to your home screen</h3>You can easily add this website to your home screen for a native feel. Click the 'add to home screen button' in the URL bar to do this."
}),
embedIntro: new T({ embedIntro: new T({
en: "<h3>Embed on your website</h3>Please, embed this map into your website. We encourage you to do it - you don't even have to ask permission. It is free, and always will be. The more people using this, the more valuable it becomes." en: "<h3>Embed on your website</h3>Please, embed this map into your website. <br/>We encourage you to do it - you don't even have to ask permission. <br/> It is free, and always will be. The more people using this, the more valuable it becomes."
}) })
}, },
morescreen: { morescreen: {

View file

@ -345,8 +345,8 @@ form {
border-radius: 2em; border-radius: 2em;
border-top-left-radius: 0; border-top-left-radius: 0;
border-bottom-left-radius: 0; border-bottom-left-radius: 0;
max-width: 30em; max-width: 40em;
width: 35vw; width: 45vw;
max-height: calc(100vh - 15em); max-height: calc(100vh - 15em);
overflow-y: auto; overflow-y: auto;
} }