Skip to content

Commit

Permalink
unnecessary css classes
Browse files Browse the repository at this point in the history
  • Loading branch information
thethunderturner committed Feb 3, 2025
1 parent 41cf98c commit 1ba13bd
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion packages/forms/dist/components/slider.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/forms/dist/index.css

Large diffs are not rendered by default.

4 changes: 0 additions & 4 deletions packages/forms/resources/css/components/slider.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,3 @@
.noUi-connect {
@apply bg-primary-600 opacity-100;
}

.fi-slider-vh {
@apply h-40;
}
2 changes: 1 addition & 1 deletion packages/forms/resources/views/components/slider.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
{{-- Set dimensions! Vertical sliders don't assume a default height, so a height needs to be set. --}}
{{-- Set margin bottom when orientation is horizontal due to nouislider bug --}}
@class([
'fi-slider-vh' => $orientation === Filament\Forms\Components\Enums\SliderOrientation::Vertical->value,
'h-40' => $orientation === Filament\Forms\Components\Enums\SliderOrientation::Vertical->value,
'mb-8' => $orientation === Filament\Forms\Components\Enums\SliderOrientation::Horizontal->value,
])
x-load
Expand Down
2 changes: 1 addition & 1 deletion packages/support/dist/index.css

Large diffs are not rendered by default.

0 comments on commit 1ba13bd

Please sign in to comment.