Skip to content

Wallos: Open-source, self-hostable personal subscription tracker. Visualize your recurring expenses, manage your budget, and save money.

fix: buttons position for push notifications (#1226)

Miguel Ribeiro9e2ad14164d6
diff --git a/includes/version.php b/includes/version.php
index af88617..ba19a19 100644
--- a/includes/version.php
+++ b/includes/version.php
@@ -1,3 +1,3 @@
<?php
-$version = "v5.8.0";
+$version = "v5.8.1";
?>
diff --git a/styles/styles.css b/styles/styles.css
index c972565..5041b41 100644
--- a/styles/styles.css
+++ b/styles/styles.css
@@ -1416,6 +1416,21 @@ header #avatar {
margin-bottom: 12px;
}
+/* Every other channel's .buttons row holds two buttons (Test, Save), which
+ .account-notifications .buttons fits without wrapping even at mobile-grow
+ width. Push has a third (Enable on this device), so it needs to wrap -
+ scoped to this section alone rather than changing every channel's row. */
+.account-notification-section-settings[data-type="push"] .buttons {
+ flex-wrap: wrap;
+}
+
+@media (max-width: 768px) {
+ .account-notification-section-settings[data-type="push"] .buttons input {
+ flex: 1 1 auto;
+ min-width: 45%;
+ }
+}
+
.form-group {
margin-bottom: 20px;
}