Skip to content

Commit 52b3791

Browse files
glassdimlyEvanLovely
authored andcommitted
fix(micro-journeys): fixes for no shadow dom, mostly icons
1 parent 2417f9c commit 52b3791

File tree

6 files changed

+11
-7
lines changed

6 files changed

+11
-7
lines changed

docs-site/src/index.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,3 @@
1717
@import './pages/pattern-lab/_patterns/01-visual-styles/15-breakpoints/_breakpoints';
1818
@import './components/pattern-lab-utils/_sassdoc.scss';
1919
@import './pages/pattern-lab/_patterns/04-pages/35-d8-events/_event-sponsors-with-action-block';
20-

packages/micro-journeys/src/character.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,9 @@ class BoltCharacter extends withLitHtml() {
9090
${useIcon
9191
? html`
9292
<span
93-
class="c-bolt-character__slot c-bolt-character__slot--icon"
93+
class="c-bolt-character__slot c-bolt-character__slot--icon--wrapper"
9494
>
95-
<bolt-icon></bolt-icon>
95+
<bolt-icon class="c-bolt-character__slot--icon"></bolt-icon>
9696
</span>
9797
`
9898
: html`

packages/micro-journeys/src/character.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,19 @@
88

99
&--small,
1010
&--small &__main-image-wrapper,
11-
&--small bolt-icon {
11+
&--small &__slot--icon {
1212
width: 60px;
1313
height: 60px;
1414
}
1515
&--medium,
1616
&--medium &__main-image-wrapper,
17-
&--medium bolt-icon {
17+
&--medium &__slot--icon {
1818
width: 80px;
1919
height: 80px;
2020
}
2121
&--large,
2222
&--large &__main-image-wrapper,
23-
&--large bolt-icon {
23+
&--large &__slot--icon {
2424
width: 120px;
2525
height: 120px;
2626
}

packages/micro-journeys/src/nav-shared.scss

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ $nav-circle-border-size: 2px;
1515
}
1616

1717
@else {
18+
box-sizing: content-box;
1819
content: '';
1920
display: inline-block;
2021
z-index: 1;
@@ -52,8 +53,11 @@ $nav-circle-border-size: 2px;
5253
padding-bottom: 1.65rem;
5354
white-space: nowrap;
5455
line-height: $header-text-line-height;
55-
cursor: pointer;
5656
font-size: $header-text-size;
5757
transition: color 0.5s ease, transform 0.5s ease;
58+
59+
&:hover {
60+
cursor: pointer;
61+
}
5862
}
5963
}

packages/micro-journeys/src/no-shadow-dom.scss

Whitespace-only changes.

packages/micro-journeys/src/status-dialogue-bar.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ $bolt-tooltip-bubble-triangle-width: 8px;
3232

3333
&__icon{
3434
@include bolt-padding-right(small);
35+
box-sizing: content-box;
3536
}
3637

3738
&__slot {

0 commit comments

Comments
 (0)