Files
eveAI/eveai_app/static/assets/css/eveai-consent-viewer.css
Josako eeb76d57b7 - Consent giving UI introduced
- Possibility to view the document version the consent is given to
- Blocking functionality is no valid consent
2025-10-15 18:35:28 +02:00

31 lines
696 B
CSS

/* Consent Viewer specific styles */
/* Ensure markdown text aligns left by default */
#consent-document-viewer .markdown-body,
.markdown-body {
text-align: left;
}
/* Make the viewer pane scrollable with a responsive max height */
#consent-document-viewer {
max-height: 60vh;
overflow: auto;
}
/* Optional readability improvements */
#consent-document-viewer .markdown-body {
line-height: 1.6;
}
#consent-document-viewer .markdown-body pre,
#consent-document-viewer .markdown-body code {
white-space: pre-wrap;
}
/* Optional: keep the viewer header visible while scrolling */
#consent-viewer-section .card-header {
position: sticky;
top: 0;
z-index: 1;
background: #fff;
}