Inline 3D viewers in articles use content width (model-viewer-inline); standalone model pages stay full-bleed

This commit is contained in:
trilium-share-gruvbox
2026-08-28 20:20:48 +02:00
parent 6b9b458e97
commit af584101eb
3 changed files with 10 additions and 2 deletions
+5
View File
@@ -821,6 +821,11 @@ html.theme-light #content code {
overflow: hidden;
}
.model-viewer.model-viewer-inline {
width: 100%;
margin-left: 0;
}
.model-viewer-data {
position: absolute;
top: 8px;