fixing bug

This commit is contained in:
Janis Steiner
2024-12-08 12:57:09 +00:00
parent ba8101036f
commit 4d445228bd

View File

@@ -107,27 +107,26 @@
load_user(); load_user();
</script> </script>
<style> <style>
//styles for the filename description .description {
.description { display: none; /* Hide the description by default */
display: none; /* Hide the description by default */ position: absolute;
position: absolute; background-color: rgba(0, 0, 0, 0.7);
background-color: rgba(0, 0, 0, 0.7); color: #fff;
color: #fff; padding: 10px;
padding: 10px; border-radius: 5px;
border-radius: 5px; width: 200px;
width: 200px; z-index: 10; /* Ensure it appears above other elements */
} }
/* Style for the element to trigger hover */ /* Style for the element to trigger hover */
.hover-element { .hover-element {
position: relative; position: relative;
/* Add some space below the element */ /* Add some space below the element */
} }
/* Style for the element to trigger hover when hovered */ /* Style for the element to trigger hover when hovered */
.hover-element:hover .description { .hover-element:hover .description {
display: block; /* Show the description on hover */ display: block; /* Show the description on hover */
} }
</style> </style>
</head> </head>
<body> <body>