Skip to content

#1 PDF Application on GitHub that lets you edit PDFs on any device anywhere

724 B
Raw Blame
/* ActionIcon is sized to match a control's height, which is far taller than the
   label or heading this sits beside — enough to push a stat's value off the row
   its siblings sit on. Shrink it to the text it annotates. */
.portal-hint .mantine-ActionIcon-root {
  /* ActionIcon sets --ai-size inline to beat Mantine, so a custom property here
     loses. Set the box directly instead, and clear the mins it ships with. */
  width: 1.1rem;
  height: 1.1rem;
  min-width: 0;
  min-height: 0;
  color: var(--c-text-subtle);
}

.portal-hint .mantine-ActionIcon-root:hover {
  color: var(--c-text);
}

/* Keep the trigger on the text baseline rather than the line box's centre. */
.portal-hint {
  vertical-align: middle;
}