- Possibility to view the document version the consent is given to - Blocking functionality is no valid consent
31 lines
696 B
CSS
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;
|
|
}
|