Build and publish Eldorado documentation / build (pull_request) Successful in 48s
34 lines
1.1 KiB
CSS
34 lines
1.1 KiB
CSS
/* Portal integration only; keep the upstream renderer and export code pinned. */
|
|
html[data-embed="true"] .toolbar {
|
|
display: flex !important;
|
|
position: relative;
|
|
inset: auto;
|
|
justify-content: flex-end;
|
|
height: 52px;
|
|
padding: 4px 8px;
|
|
box-sizing: border-box;
|
|
background: var(--bg);
|
|
}
|
|
html[data-embed="true"] #btn-present,
|
|
html[data-embed="true"] #btn-motion { display: none !important; }
|
|
html[data-embed="true"] .diagram-container > svg {
|
|
max-height: calc(100vh - 68px);
|
|
}
|
|
html[data-embed="true"] .toolbar .preset-menu,
|
|
html[data-embed="true"] .toolbar .export-menu {
|
|
position: fixed;
|
|
top: 52px;
|
|
left: auto;
|
|
right: 0;
|
|
width: min(320px, 100vw);
|
|
max-width: 100vw;
|
|
max-height: calc(100vh - 52px);
|
|
overflow-y: auto;
|
|
box-sizing: border-box;
|
|
}
|
|
/* Keep the preset menu in the iframe viewport without moving its capsule. */
|
|
html[data-embed="true"] .toolbar .export-wrap { position: static; }
|
|
html[data-embed="true"] .toolbar .export-menu { position: absolute; top: 100%; }
|
|
html[data-embed="true"] .toolbar .preset-menu button,
|
|
html[data-embed="true"] .toolbar .export-menu button { min-height: 44px; }
|