Fix metadata display not wrapping long lines. Add LaTeX support
This commit is contained in:
+21
-2
@@ -3,8 +3,8 @@
|
||||
======================================== */
|
||||
.gallery-stats {
|
||||
position: fixed;
|
||||
bottom: 20px;
|
||||
left: 20px;
|
||||
bottom: 80px;
|
||||
left: 15px;
|
||||
background: var(--card-bg);
|
||||
border: 1px solid var(--border-color);
|
||||
border-radius: 8px;
|
||||
@@ -16,10 +16,14 @@
|
||||
opacity: 0.8;
|
||||
transition: opacity 0.2s ease;
|
||||
max-width: 200px;
|
||||
/* Ensure stats don't interfere with content */
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.gallery-stats:hover {
|
||||
opacity: 1;
|
||||
/* Re-enable pointer events on hover */
|
||||
pointer-events: auto;
|
||||
}
|
||||
|
||||
.stats-item {
|
||||
@@ -38,3 +42,18 @@
|
||||
font-weight: 600;
|
||||
color: var(--text-color);
|
||||
}
|
||||
|
||||
/* Responsive adjustments */
|
||||
@media (max-width: 768px) {
|
||||
.gallery-stats {
|
||||
bottom: 60px;
|
||||
left: 10px;
|
||||
padding: 0.6rem 0.8rem;
|
||||
font-size: 0.8rem;
|
||||
max-width: 180px;
|
||||
}
|
||||
|
||||
.stats-item {
|
||||
margin: 0.15rem 0;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user