Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Menu] Labels in secondary pointing menu items were misaligned #378

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions src/definitions/collections/menu.less
Original file line number Diff line number Diff line change
Expand Up @@ -937,6 +937,15 @@ Floated Menu / Item
border-bottom-width: 0;
}

.ui.secondary.pointing.menu .item > .label {
margin-top: -@labelVerticalPadding;
margin-bottom: -@labelVerticalPadding;
}
.ui.secondary.pointing.menu .item > .circular.label {
margin-top: -@circularLabelVerticalPadding;
margin-bottom: -@circularLabelVerticalPadding;
}

/* Item Types */
.ui.secondary.pointing.menu .header.item {
color: @secondaryPointingHeaderColor !important;
Expand Down
1 change: 1 addition & 0 deletions src/themes/default/collections/menu.variables
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@

@labelTextMargin: 1em;
@labelVerticalPadding: 0.3em;
@circularLabelVerticalPadding: 0.5em; /* has to be equal to @circularPadding from label.less */
@labelHorizontalPadding: @relativeMini;

@labelAndIconFloat: none;
Expand Down