Skip to content

Commit dfe37c3

Browse files
committed
Fixed hidden drop-down on row table
1 parent d58f909 commit dfe37c3

File tree

7 files changed

+42
-34
lines changed

7 files changed

+42
-34
lines changed

public/css/orchid.css

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

public/css/orchid.rtl.css

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

public/mix-manifest.json

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

resources/sass/core/form.scss

Lines changed: 30 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
.form-control {
2-
background: $white none;
3-
border: 1px solid $form-control-border-color;
4-
-webkit-appearance: none;
5-
-moz-appearance: none;
6-
color: $black;
7-
outline: 0;
8-
line-height: normal;
9-
font-weight: normal;
10-
vertical-align: middle;
11-
min-height: $input-height;
12-
@include transition(all 0.12s ease);
13-
@include box-shadow(none);
14-
border-radius: 0.125rem;
15-
@include placeholder($text-muted);
16-
@include transition(background 0.2s linear 0s);
2+
background: $white none;
3+
border: 1px solid $form-control-border-color;
4+
-webkit-appearance: none;
5+
-moz-appearance: none;
6+
color: $black;
7+
outline: 0;
8+
line-height: normal;
9+
font-weight: normal;
10+
vertical-align: middle;
11+
min-height: $input-height;
12+
@include transition(all 0.12s ease);
13+
@include box-shadow(none);
14+
border-radius: 0.125rem;
15+
@include placeholder($text-muted);
16+
@include transition(background 0.2s linear 0s);
1717

1818
&:focus {
1919
border-color: fade-out($black, 0.9);
@@ -25,16 +25,21 @@
2525
}
2626

2727
&[disabled],
28-
&[readonly],
29-
fieldset[disabled] & {
30-
background: mix($grey-light, #fff, 50%);
31-
color: fade-out($grey, .77);
32-
}
33-
select {
34-
-moz-appearance : none;
35-
text-indent : 0.01px;
36-
text-overflow : '';
37-
}
28+
&[readonly],
29+
fieldset[disabled] & {
30+
background: mix($grey-light, #fff, 50%);
31+
color: fade-out($grey, .77);
32+
}
33+
34+
select {
35+
-moz-appearance: none;
36+
text-indent: 0.01px;
37+
text-overflow: '';
38+
}
39+
40+
&::file-selector-button {
41+
min-height: $input-height;
42+
}
3843
}
3944

4045
.input-group {

resources/sass/core/reset.scss

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -464,9 +464,13 @@ blockquote {
464464
> tbody,
465465
> tfoot {
466466
> tr {
467-
// Safari doesn't support position: relative on <tr> elements
468-
position: sticky;
469-
overflow: clip;
467+
&:has(.stretched-link) {
468+
// Safari doesn't support position: relative on <tr> elements
469+
position: relative;
470+
transform: translate(0);
471+
clip-path: inset(0);
472+
overflow: clip;
473+
}
470474
> td {
471475
padding: 8px 15px;
472476
border-top: 1px solid $table-border-color;

resources/views/actions/dropdown.blade.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
type="button"
55
data-bs-toggle="dropdown"
66
aria-expanded="false"
7-
data-bs-popper-config='{"strategy": "fixed"}'
87
>
98
@isset($icon)
109
<x-orchid-icon :path="$icon" class="overflow-visible"/>

resources/views/layouts/table.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
</fieldset>
99
@endempty
1010

11-
<div class="bg-white rounded shadow-sm mb-3"
11+
<div class="bg-white rounded shadow-sm mb-3 overflow-hidden"
1212
data-controller="table"
1313
data-table-slug="{{$slug}}"
1414
>

0 commit comments

Comments
 (0)