Skip to content

Commit

Permalink
Fix css warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
adrinr committed Dec 27, 2024
1 parent 0d64ce4 commit 67f511d
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 2 deletions.
1 change: 1 addition & 0 deletions packages/bbui/src/Form/Core/DatePicker/NumberInput.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
}
input.hide-arrows {
-moz-appearance: textfield;
appearance: textfield;
}
input[type="time"]::-webkit-calendar-picker-indicator {
display: none;
Expand Down
1 change: 1 addition & 0 deletions packages/bbui/src/Form/Core/Slider.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
padding: 0;
margin: 0;
-webkit-appearance: none;
appearance: none;
background: transparent;
}
input::-webkit-slider-thumb {
Expand Down
2 changes: 0 additions & 2 deletions packages/bbui/src/Tabs/Tabs.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,6 @@
.spectrum-Tabs-selectionIndicator.emphasized {
background-color: var(--spectrum-global-color-blue-400);
}
.spectrum-Tabs--horizontal .spectrum-Tabs-selectionIndicator {
}
.noHorizPadding {
padding: 0;
}
Expand Down
1 change: 1 addition & 0 deletions packages/bbui/src/Tooltip/AbsTooltip.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@
.spectrum-Tooltip-label {
display: -webkit-box;
-webkit-line-clamp: 3;
line-clamp: 3;
-webkit-box-orient: vertical;
overflow: hidden;
font-size: 12px;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@
.value {
display: -webkit-box;
-webkit-line-clamp: var(--content-lines);
line-clamp: var(--content-lines);
-webkit-box-orient: vertical;
overflow: hidden;
line-height: 20px;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@
.value {
display: -webkit-box;
-webkit-line-clamp: var(--content-lines);
line-clamp: var(--content-lines);
-webkit-box-orient: vertical;
overflow: hidden;
line-height: 20px;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,14 @@
.value {
display: -webkit-box;
-webkit-line-clamp: var(--content-lines);
line-clamp: var(--content-lines);
-webkit-box-orient: vertical;
overflow: hidden;
line-height: 20px;
}
.number .value {
-webkit-line-clamp: 1;
line-clamp: 1;
}
input {
flex: 1 1 auto;
Expand Down Expand Up @@ -110,5 +112,6 @@
}
input[type="number"] {
-moz-appearance: textfield;
appearance: textfield;
}
</style>

0 comments on commit 67f511d

Please sign in to comment.