Skip to content

Commit dd6595e

Browse files
authored
Merge pull request #17 from howdu/hotfix/styling
Hotfix/styling
2 parents 7235045 + 6708a3b commit dd6595e

File tree

13 files changed

+159
-119
lines changed

13 files changed

+159
-119
lines changed

.github/workflows/phpstan.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Setup PHP
1717
uses: shivammathur/setup-php@v2
1818
with:
19-
php-version: '8.1'
19+
php-version: '8.2'
2020
coverage: none
2121

2222
- name: Install composer dependencies

.phpunit.cache/test-results

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"version":"pest_3.8.2","defects":[],"times":{"P\\Tests\\ExampleTest::__pest_evaluable_it_can_test":0.001,"P\\Tests\\ArchTest::__pest_evaluable_it_will_not_use_debugging_functions":0.06}}
1+
{"version":"pest_3.8.2","defects":[],"times":{"P\\Tests\\ExampleTest::__pest_evaluable_it_can_test":0.011,"P\\Tests\\ArchTest::__pest_evaluable_it_will_not_use_debugging_functions":0.062}}

package-lock.json

Lines changed: 5 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

resources/css/filament-record-switcher.css

Lines changed: 0 additions & 30 deletions
This file was deleted.

resources/css/record-switcher.css

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
@reference "tailwindcss";
2+
@reference "../../vendor/filament/filament/resources/css/index.css";
3+
4+
@import "choices.js/public/assets/styles/choices.css";
5+
6+
.filament-record-switcher .choices.choices__select__changer {
7+
font-weight: var(--font-weight-normal);
8+
line-height: var(--leading-normal);
9+
@apply text-gray-950 dark:text-white;
10+
11+
.choices__inner {
12+
min-height: 0;
13+
border: none;
14+
border-radius: 0;
15+
padding: 0;
16+
font-size: var(--text-2xl);
17+
line-height: var(--tw-leading, var(--text-2xl--line-height));
18+
font-weight: var(--font-weight-bold);
19+
letter-spacing: var(--tracking-tight);
20+
color: var(--gray-950);
21+
}
22+
23+
.choices__list--dropdown .choices__select__changer__item {
24+
font-size: var(--text-sm);
25+
font-weight: var(--font-weight-normal);
26+
line-height: var(--leading-normal);
27+
@apply text-gray-900 dark:text-white;
28+
}
29+
30+
.choices__list--single {
31+
padding: 0 32px 0 0;
32+
margin: 0;
33+
}
34+
35+
.choices__input {
36+
border-radius: 0;
37+
padding: 0.5rem 0.75rem;
38+
font-size: var(--text-sm);
39+
font-weight: var(--font-weight-normal);
40+
line-height: var(--leading-normal);
41+
}
42+
43+
.choices__list--dropdown,
44+
.choices__list[aria-expanded] {
45+
word-break: break-word;
46+
width: max-content;
47+
padding: 0;
48+
min-width: 12rem;
49+
z-index: 50;
50+
border-radius: 0.5rem;
51+
margin-top: 0.25rem;
52+
}
53+
54+
@media (min-width: 40rem) {
55+
.choices__inner .choices__select__changer__item {
56+
font-size: var(--text-3xl);
57+
line-height: var(--tw-leading, var(--text-3xl--line-height));
58+
}
59+
}
60+
}
61+

resources/dist/filament-record-switcher.css

Lines changed: 0 additions & 1 deletion
This file was deleted.

resources/dist/filament-record-switcher.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

resources/dist/record-switcher.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

resources/dist/record-switcher.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)