File tree Expand file tree Collapse file tree 2 files changed +30
-1
lines changed
packs/stylesheets/decidim Expand file tree Collapse file tree 2 files changed +30
-1
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ def mobile_breadcrumb_root_menu
47
47
@mobile_breadcrumb_root_menu ||= ::Decidim ::BreadcrumbRootMenuPresenter . new (
48
48
:mobile_menu ,
49
49
self ,
50
- container_options : { class : "menu-bar__dropdown -menu" }
50
+ container_options : { class : "menu-bar__main-dropdown__top -menu" }
51
51
)
52
52
end
53
53
Original file line number Diff line number Diff line change @@ -402,6 +402,35 @@ header {
402
402
}
403
403
}
404
404
405
+ & __top {
406
+ @apply w-full px- 4;
407
+
408
+ & -menu {
409
+ @apply w-full md :w- 1/ 2 mt- 0 grid md:grid- cols- 2 gap- x- 6 text- secondary;
410
+
411
+ > * {
412
+ @apply py-3 md :py- 3.5 border- b last:border- 0 border- gray- 3;
413
+
414
+ /* since the grid has 2 columns, remove the border for these last 2 columns */
415
+ & :nth-last-child (-n + 2 ) {
416
+ @apply md :border- 0;
417
+ }
418
+ }
419
+
420
+ a {
421
+ @apply flex items-center justify-start gap-1 font-semibold text-lg text-secondary ;
422
+
423
+ span {
424
+ @apply min-w-0 truncate ;
425
+ }
426
+
427
+ svg {
428
+ @apply flex-none fill-current ;
429
+ }
430
+ }
431
+ }
432
+ }
433
+
405
434
& __bottom {
406
435
@apply hidden md :flex ;
407
436
}
You can’t perform that action at this time.
0 commit comments