collavre 0.12.2 → 0.12.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e5cc8288417aa35fba130bae92aeb47383ba3f53dd10fb3e9d1d46d65605fbf2
4
- data.tar.gz: 7862466adcb4e962f1a0fb5aa62f3958cafe98469df3da543d3df9d12b2c6bc7
3
+ metadata.gz: 61eb7c1c09136cc7e5e15121a76f89f27da2232fe9202a3d909488fe0df5045e
4
+ data.tar.gz: b2fa13c57e9394a2d9736361c2bb13f62dd5122fde785a8c885ab7ae88e84dd2
5
5
  SHA512:
6
- metadata.gz: fd4d1f51f6dd4044b1d5d7c09f06437dc4dd59962c2632486794a4dcfc2eb8baa01dd8ecd6ece69b54d9296bf8a1dc3a237f190ccd02b75c54a5074fe89b09d7
7
- data.tar.gz: 5ec2172df49895ba3de6063f18373c52cefb8e475f829590e46a086b6b86a298782862936da30925bcd574fff8642fc5ba7ebba28ea7f68f2147fed27a0aa800
6
+ metadata.gz: 3a0a984f9b5074aefd2f95819c28df6421445bb26a39ae0cf69a395df1b72334037a0917cc3790b164beb29d95998dcf51fb3958f8cd8b3b5832a646a3ba9dc6
7
+ data.tar.gz: 4a1552462be73e3aeb0deba68260da717a101368130bc984a82ebff2bf78e6ec46dc363332632f976cb82535d083d279bcd33a5b208116e90c0ecb0358ae1362
@@ -298,6 +298,7 @@
298
298
  left: 0;
299
299
  transform: translateX(0);
300
300
  box-sizing: border-box;
301
+ overflow: hidden;
301
302
  }
302
303
 
303
304
  .popup-menu-right {
@@ -305,9 +306,22 @@
305
306
  right: 0;
306
307
  }
307
308
 
308
- .popup-menu .popup-menu-item,
309
+ /* Wrapper div: layout only, no interaction styles */
310
+ div.popup-menu-item {
311
+ display: flex;
312
+ width: 100%;
313
+ }
314
+
315
+ /* Ensure forms from button_to fill the full width */
316
+ .popup-menu .popup-menu-item form {
317
+ width: 100%;
318
+ }
319
+
320
+ /* Interactive elements: button/a inside wrapper OR directly classed as popup-menu-item */
309
321
  .popup-menu-item button,
310
- .popup-menu-item a {
322
+ .popup-menu-item a,
323
+ button.popup-menu-item,
324
+ a.popup-menu-item {
311
325
  display: flex;
312
326
  align-items: center;
313
327
  gap: var(--space-2);
@@ -324,9 +338,10 @@
324
338
  white-space: nowrap;
325
339
  }
326
340
 
327
- .popup-menu .popup-menu-item:hover,
328
341
  .popup-menu-item button:hover,
329
- .popup-menu-item a:hover {
342
+ .popup-menu-item a:hover,
343
+ button.popup-menu-item:hover,
344
+ a.popup-menu-item:hover {
330
345
  background: var(--surface-hover);
331
346
  }
332
347
 
@@ -207,7 +207,6 @@ module Collavre
207
207
  label: "collavre.users.profile",
208
208
  type: :button,
209
209
  path: -> { Collavre::Engine.routes.url_helpers.user_path(Current.user) },
210
- html_class: "popup-menu-item",
211
210
  priority: 100
212
211
  },
213
212
  {
@@ -1,3 +1,3 @@
1
1
  module Collavre
2
- VERSION = "0.12.2"
2
+ VERSION = "0.12.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: collavre
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.2
4
+ version: 0.12.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Collavre