Fix clipping of last item actions dropdown menu by opening upwards
This commit is contained in:
1 parent
960c375557
commit
00a5a0ec76
1 file changed
+15
@@ -690,3 +690,18 @@ tr.lifecycle-archived {
|
||||
border: 1px solid var(--color-border);
|
||||
}
|
||||
|
||||
/* Open dropdown upwards for the last row of the table to prevent clipping in overflow wrappers */
|
||||
tr:last-child .actions-dropdown-menu {
|
||||
top: auto;
|
||||
bottom: 100%;
|
||||
margin-top: 0;
|
||||
margin-bottom: 0.35rem;
|
||||
box-shadow: 0 -10px 15px -3px rgba(0, 0, 0, 0.1), 0 -4px 6px -2px rgba(0, 0, 0, 0.05);
|
||||
animation: dropdownFadeInUp 0.15s cubic-bezier(0.16, 1, 0.3, 1);
|
||||
}
|
||||
|
||||
@keyframes dropdownFadeInUp {
|
||||
from { opacity: 0; transform: translateY(4px); }
|
||||
to { opacity: 1; transform: translateY(0); }
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user