improve findings

This commit is contained in:
Ross
2025-05-19 11:15:40 +01:00
parent ead5bfcace
commit 503c8f854a
13 changed files with 329 additions and 14 deletions
+32
View File
@@ -1356,3 +1356,35 @@ span#user-id {
.remove-button:hover {
opacity: 100%;
}
/* Crispy forms clear button */
.position-relative {
position: relative;
}
/* Style the clear button */
.clear-input-button {
position: absolute;
right: 10px;
top: 50%;
transform: translateY(-50%);
display: none; /* Hidden by default */
z-index: 1;
opacity: 0.4;
}
.clear-input-button:hover {
opacity: 1;
}
/* Show the clear button only when the input field or textarea is hovered and contains text */
.position-relative:hover .clear-input-button {
display: inline-block;
}
.related-finding-modal {
max-width: 600px;
width: auto;
margin-left: auto;
margin-right: auto;
}