mirror of
https://github.com/documenso/documenso.git
synced 2026-07-26 01:45:08 +10:00
feat: enhance document signing page with field canvas style integration (#2876)
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
const FIELD_ROOT_CONTAINER_SHARED_CLASS_NAME =
|
||||
'field--FieldRootContainer field-card-container dark-mode-disabled group rounded-[2px] bg-white/90 ring-2 ring-gray-200 transition-all';
|
||||
|
||||
export const FIELD_ROOT_CONTAINER_CLASS_NAME = `${FIELD_ROOT_CONTAINER_SHARED_CLASS_NAME} relative z-20 flex h-full w-full items-center`;
|
||||
|
||||
export const FIELD_ROOT_CONTAINER_PROBE_CLASS_NAME = `field--FieldRootContainerProbe ${FIELD_ROOT_CONTAINER_SHARED_CLASS_NAME}`;
|
||||
|
||||
/**
|
||||
* Selector for the element the probe is appended into when reading computed
|
||||
* field styles. It must be an ancestor of where real fields render so the probe
|
||||
* inherits the same CSS cascade (custom embed CSS is commonly scoped under
|
||||
* `.embed--Root` / `.embed--DocumentContainer`).
|
||||
*/
|
||||
export const FIELD_PROBE_ANCHOR_SELECTOR = '.embed--DocumentContainer';
|
||||
Reference in New Issue
Block a user