Right-align the dropdown content

the need for this is more obvious when the dropdown arrow is near
the RHS of the page; pre-commit the dropdown would float out of view
This commit is contained in:
Klaas van Schelven
2024-03-11 19:15:24 +01:00
parent 185234f862
commit caa5b4ec9a
2 changed files with 12 additions and 10 deletions

View File

@@ -888,14 +888,14 @@ select {
height: 1.25rem;
}
.h-screen {
height: 100vh;
}
.h-6 {
height: 1.5rem;
}
.h-screen {
height: 100vh;
}
.w-1\/4 {
width: 25%;
}
@@ -916,14 +916,14 @@ select {
width: 1.25rem;
}
.w-full {
width: 100%;
}
.w-6 {
width: 1.5rem;
}
.w-full {
width: 100%;
}
.border-collapse {
border-collapse: collapse;
}
@@ -1452,8 +1452,9 @@ select {
.dropdown-content {
display: none;
position: absolute;
left: -2px;
z-index: 1;
margin-left: auto;
right: 0;
}
/* Show the dropdown menu on hover */

View File

@@ -84,8 +84,9 @@
.dropdown-content {
display: none;
position: absolute;
left: -2px;
z-index: 1;
margin-left: auto;
right: 0;
}
/* Show the dropdown menu on hover */