Prelim: Proper fix for Start menu menus

This commit is contained in:
Rory Fewell
2023-04-18 20:05:09 +01:00
parent 08eef602c2
commit 66ab6e1eba
3 changed files with 11 additions and 21 deletions

View File

@@ -221,33 +221,23 @@ window.csd.xp-start-menu // Specificity hack -_-
{
@include __wintc_apply_props($start_menu_popup_menu_styles);
$l_border_bottom:
__wintc_get_prop_with_fallbacks(
"border-bottom-width",
$start_menu_popup_menu_styles,
$popup_menu_styles
);
$l_border_top:
__wintc_get_prop_with_fallbacks(
"border-top-width",
$start_menu_popup_menu_styles,
$popup_menu_styles
);
menuitem
{
@include __wintc_apply_props(
$start_menu_popup_menu_menuitem_styles
);
&:first-child
@if $start_menu_popup_menu_vmargin != "novalue"
{
margin-top: $l_border_top;
}
&:first-child
{
margin-top: $start_menu_popup_menu_vmargin;
}
&:last-child
{
margin-bottom: $l_border_bottom;
&:last-child
{
margin-bottom: $start_menu_popup_menu_vmargin;
}
}
image

View File

@@ -18,7 +18,7 @@ $start_menu_display_userpic: false !default;
$start_menu_programs_column_width: 182px !default;
$start_menu_places_column_width: 178px !default;
$start_menu_popup_menu_vmargin: 0px !default;
$start_menu_popup_menu_vmargin: novalue !default;
$start_menu_separator_thickness: $separator_thickness !default;

View File

@@ -18,7 +18,7 @@ $start_menu_display_userpic: true;
$start_menu_programs_column_width: 176px;
$start_menu_places_column_width: 176px;
$start_menu_popup_menu_vmargin: 0px;
$start_menu_popup_menu_vmargin: 1px;
$start_menu_separator_thickness: $separator_thickness;