diff --git a/index.php b/index.php index 65e787d..5ff1567 100644 --- a/index.php +++ b/index.php @@ -130,8 +130,13 @@ $config_data = json_decode($raw_json_config, false);
+ ose) : ?> + diff --git a/owe.js b/owe.js index a8b3228..1397e4b 100644 --- a/owe.js +++ b/owe.js @@ -116,7 +116,7 @@ async function sendWord() { function displayNotification(word) { if (Notification.permission == 'granted') { navigator.serviceWorker.getRegistration().then(function(reg) { - reg.showNotification("Neues Wort auf " + (config_data.title ? config_data.title : "OWE"), + reg.showNotification("Neuer Satz auf " + (config_data.title ? config_data.title : "OWE"), { body: word, icon: (config_data.logo? config_data.logo.image_path : "OWE_Logo.png"), requireInteraction: true }); }); } diff --git a/style.css b/style.css index a90c458..dad567a 100644 --- a/style.css +++ b/style.css @@ -97,7 +97,7 @@ a { background-color: white; display: flex; flex-wrap: wrap; - width: auto; + width: inherit; } #sidebar_button { @@ -116,6 +116,7 @@ input, .send_button { border: 2px solid white; display: inline-flex; margin: 30px 0px; + width: 100%; } table {