Skip to content

Commit

Permalink
fix(styles): removed duplicate post-icon
Browse files Browse the repository at this point in the history
  • Loading branch information
alionazherdetska committed Dec 9, 2024
1 parent 0ff21c9 commit 1317e36
Showing 1 changed file with 15 additions and 31 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,19 @@ tokens.$default-map: components.$post-breadcrumb;
align-items: center;
height: 100%;
gap: tokens.get('breadcrumb-gap-inline-outer');

post-icon {
display: inline-block;
box-sizing: border-box;
color: tokens.get('breadcrumb-enabled-fg');
height: tokens.get('breadcrum-icon-size');
width: tokens.get('breadcrum-icon-size');
}

.breadcrumb-item-icon {
padding-block: tokens.get('breadcrumb-padding-block-icon-link');
padding-inline: tokens.get('breadcrumb-padding-inline-icon-link');
}

li {
a {
Expand All @@ -46,14 +59,8 @@ tokens.$default-map: components.$post-breadcrumb;
&:focus {
border-radius: tokens.get('focus-border-radius', helpers.$post-focus);
}
}

post-icon {
display: inline-block;
box-sizing: border-box;
height: tokens.get('breadcrum-icon-size');
width: tokens.get('breadcrum-icon-size');
color: tokens.get('breadcrumb-enabled-fg');
.home-icon {
padding-block: tokens.get('breadcrumb-padding-block-icon-home');
padding-inline: tokens.get('breadcrumb-padding-inline-icon-home');

Expand All @@ -68,21 +75,14 @@ tokens.$default-map: components.$post-breadcrumb;
color: CanvasText !important;
}
}
}
}
}
.menu-trigger-wrapper {
display: flex;
align-items: center;
gap: tokens.get('breadcrumb-gap-inline-inner');

post-icon {
box-sizing: border-box;
height: tokens.get('breadcrum-icon-size');
width: tokens.get('breadcrum-icon-size');
padding-block: tokens.get('breadcrumb-padding-block-icon-link');
padding-inline: tokens.get('breadcrumb-padding-inline-icon-link');
}

.actual-menu {
display: flex;
align-items: center;
Expand Down Expand Up @@ -156,14 +156,6 @@ tokens.$default-map: components.$post-breadcrumb;
}
}

post-icon {
height: tokens.get('breadcrum-icon-size');
width: tokens.get('breadcrum-icon-size');
box-sizing: border-box;
padding-block: tokens.get('breadcrumb-padding-block-icon-link');
padding-inline: tokens.get('breadcrumb-padding-inline-icon-link');
}

span {
&:hover {
color: tokens.get('breadcrumb-hover-fg');
Expand All @@ -175,14 +167,6 @@ tokens.$default-map: components.$post-breadcrumb;
}
}

post-icon {
box-sizing: border-box;
height: tokens.get('breadcrum-icon-size');
width: tokens.get('breadcrum-icon-size');
padding-block: tokens.get('breadcrumb-padding-block-icon-link');
padding-inline: tokens.get('breadcrumb-padding-inline-icon-link');
}

@include utilities.high-contrast-mode() {
a,
&:focus,
Expand Down

0 comments on commit 1317e36

Please sign in to comment.