Spaces:
Running
Running
style: collapse map attribution by default in compact mode
Browse files- src/app/globals.css +5 -0
src/app/globals.css
CHANGED
|
@@ -141,6 +141,11 @@ dialog.chart-modal[open] {
|
|
| 141 |
}
|
| 142 |
}
|
| 143 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 144 |
.mobile-drawer::backdrop {
|
| 145 |
background-color: rgba(15, 23, 42, var(--drawer-backdrop, 0));
|
| 146 |
}
|
|
|
|
| 141 |
}
|
| 142 |
}
|
| 143 |
|
| 144 |
+
/* Keep compact attribution collapsed by default — only expand on click */
|
| 145 |
+
.maplibregl-ctrl-attrib.maplibregl-compact:not(.maplibregl-compact-show) .maplibregl-ctrl-attrib-inner {
|
| 146 |
+
display: none !important;
|
| 147 |
+
}
|
| 148 |
+
|
| 149 |
.mobile-drawer::backdrop {
|
| 150 |
background-color: rgba(15, 23, 42, var(--drawer-backdrop, 0));
|
| 151 |
}
|