Skip to content

lightweight, client-only calendar web application. All data persists in the URL hash for instant sharing, No backend required. Optional AES-GCM password protection keeps shared links locked without a server

JavaScript

fix(css): improve mobile layout for planner header controls

Supun Lakmal21136fdf3fb6
diff --git a/styles.css b/styles.css
index 2fda575..9fdcaa1 100644
--- a/styles.css
+++ b/styles.css
@@ -2104,6 +2104,37 @@ button:disabled {
height: 100vh;
border-radius: 0;
}
+
+ .planner-header {
+ flex-direction: column;
+ align-items: stretch;
+ padding: 12px;
+ gap: 10px;
+ position: relative;
+ padding-right: 48px; /* Space for close button */
+ }
+
+ .planner-controls-left,
+ .planner-controls-right {
+ width: 100%;
+ gap: 8px;
+ }
+
+ .wp-search-wrapper {
+ width: 100%;
+ }
+
+ .planner-controls-right {
+ justify-content: flex-start;
+ }
+
+ #wp-close {
+ position: absolute;
+ top: 10px;
+ right: 10px;
+ z-index: 10;
+ }
+
.modal-grid-container {
grid-template-columns: 140px 1fr; /* Smaller city col */