mirror of
https://github.com/oilandrust/obsidian-gdocs.git
synced 2026-07-22 07:32:32 +00:00
Retry and adapter fallbacks for File Provider paths, plus clearer errors when cloud-only shortcuts cannot be read. Co-authored-by: Cursor <cursoragent@cursor.com>
85 lines
1.2 KiB
CSS
85 lines
1.2 KiB
CSS
.gdocs-error {
|
|
padding: 1.5rem;
|
|
max-width: 36rem;
|
|
}
|
|
|
|
.gdocs-error-title {
|
|
font-weight: 600;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.gdocs-error-detail {
|
|
color: var(--text-muted);
|
|
margin-bottom: 0.5rem;
|
|
word-break: break-word;
|
|
}
|
|
|
|
.gdocs-error-system {
|
|
font-family: var(--font-monospace);
|
|
font-size: 0.8em;
|
|
color: var(--text-faint);
|
|
margin-bottom: 1rem;
|
|
word-break: break-word;
|
|
}
|
|
|
|
.gdocs-error-help {
|
|
color: var(--text-muted);
|
|
font-size: 0.9em;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.gdocs-error-url {
|
|
font-size: 0.85em;
|
|
word-break: break-all;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.gdocs-mobile-actions {
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.workspace-leaf-content[data-type="gdocs-view"] .view-content,
|
|
.workspace-leaf-content[data-type="gdocs-view"] .view-body,
|
|
.gdocs-view-host {
|
|
height: 100%;
|
|
padding: 0;
|
|
}
|
|
|
|
.gdocs-webview-container {
|
|
height: 100%;
|
|
width: 100%;
|
|
min-height: 0;
|
|
flex: 1;
|
|
}
|
|
|
|
.gdocs-webview {
|
|
width: 100%;
|
|
height: 100%;
|
|
border: none;
|
|
display: flex;
|
|
flex: 1;
|
|
}
|
|
|
|
.gdocs-embed {
|
|
display: block;
|
|
width: 100%;
|
|
height: 60vh;
|
|
min-height: 24rem;
|
|
margin: 0.5rem 0;
|
|
}
|
|
|
|
.gdocs-embed .gdocs-webview-container {
|
|
height: 100%;
|
|
min-height: inherit;
|
|
}
|
|
|
|
.gdocs-embed-loading {
|
|
color: var(--text-muted);
|
|
padding: 1rem;
|
|
}
|
|
|
|
.gdocs-embed .gdocs-error {
|
|
padding: 1rem;
|
|
}
|