- Consent giving UI introduced
- Possibility to view the document version the consent is given to - Blocking functionality is no valid consent
This commit is contained in:
30
eveai_app/static/assets/css/eveai-consent-viewer.css
Normal file
30
eveai_app/static/assets/css/eveai-consent-viewer.css
Normal file
@@ -0,0 +1,30 @@
|
||||
/* 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;
|
||||
}
|
||||
Reference in New Issue
Block a user