Skip to content

Commit efc225d

Browse files
authored
fix: remove .presets-tooltip-list from tooltip.scss (#2904)
1 parent b9d696a commit efc225d

3 files changed

Lines changed: 7 additions & 11 deletions

File tree

packages/uhk-web/src/app/components/device/typing-behavior-page/typing-behavior-page.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ <h3>Secondary roles</h3>
3232
[tooltip]="presetsTooltip"
3333
[width]="450"/>
3434
<ng-template #presetsTooltip>
35-
<ul class="presets-tooltip-list">
35+
<ul class="no-indent text-start gap-035">
3636
<li *ngFor="let preset of typingBehaviorPresets; trackBy: trackPresets">
3737
<span class="fw-bold">{{ preset.name }}</span>: {{ preset.tooltip }}
3838
</li>

packages/uhk-web/src/styles/_global.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,12 @@ ul.no-indent {
7373
margin-bottom: 0;
7474
}
7575

76+
ul.gap-035 {
77+
li + li {
78+
margin-top: 0.35rem;
79+
}
80+
}
81+
7682
.h1, .h2, .h3, h1, h2, h3 {
7783
padding-top: 10px;
7884
}

packages/uhk-web/src/styles/_tooltip.scss

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,6 @@
55
.tooltip-inner {
66
border: $tooltip-border-width solid $tooltip-border-color;
77
max-width: var(--tooltip-max-width);
8-
9-
.presets-tooltip-list {
10-
margin: 0;
11-
padding-left: 1.25rem;
12-
text-align: left;
13-
14-
li + li {
15-
margin-top: 0.35rem;
16-
}
17-
}
188
}
199

2010
.tooltip-arrow {

0 commit comments

Comments
 (0)