/* The editor inlay panel (`CodeReviewCommentUIUtil.createEditorInlayPanel`): 10px arc, the tear line colour as border, the editor background; content at most 42em wide, and never wider than the pane (the scroller is its size container; 96px: gutters and margins). */ .inlay { box-sizing: border-box; max-width: min(calc(42em + 60px), calc(100cqw - 96px)); margin: 4px 12px 4px 4px; padding: 6px 0; border: 1px solid var(--border); border-radius: 10px; background: var(--bg-editor); font-family: var(--font-ui); font-size: var(--fs-ui); white-space: normal; cursor: auto; } .newComment { padding: 4px 10px; } .sep { width: 1px; height: 14px; margin: 0 4px; background: var(--border-strong); } .page { display: flex; flex-direction: column; gap: var(--space-4); padding: 4px 0; } .section { display: flex; flex-direction: column; gap: var(--space-2); } .heading { margin: 0; padding-bottom: 4px; border-bottom: 1px solid var(--border); color: var(--fg-strong); font-size: var(--fs-ui); font-weight: 600; } .accountRow { display: grid; grid-template-columns: max-content minmax(0, 1fr); align-items: start; column-gap: var(--space-3); row-gap: var(--space-1); } .accountLabel { line-height: var(--h-field); color: var(--fg); white-space: nowrap; } .accountControl { display: flex; flex-direction: column; gap: var(--space-1); min-width: 0; } .accountField { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); min-width: 0; } .accountSelect { display: flex; width: 280px; max-width: 100%; min-width: 0; } .accountSelect > button { flex: 1; min-width: 0; } .accountHint { margin: 0; max-width: 480px; color: var(--fg-subtle); font-size: var(--fs-small); }