SublimeHyperClick icon indicating copy to clipboard operation
SublimeHyperClick copied to clipboard

bug: when the link appears, the lines are separated by several pixels

Open Diks3n opened this issue 3 years ago • 6 comments

when the link appears, the lines are separated by several pixels

Diks3n avatar May 31 '21 12:05 Diks3n

ezgif-7-ef79bde394e6

Diks3n avatar May 31 '21 12:05 Diks3n

Hello, would there be a work around to this? I'm on ST4.

https://user-images.githubusercontent.com/30809170/134010816-0e4aeb62-6a08-4c83-887e-bc0a2bb4ee02.mp4

Thank you for the package btw, it's very helpful.

basaran avatar Sep 20 '21 13:09 basaran

plugin uses sublime's phantom api, which actually inserts onto the current line. There is no overlay option from sublime but one can adjust the UI css through the package.

#hyperClick {
  background-color: var(--background);
  color: var(--foreground);
  margin: 0;
  padding: 0;
  line-height: 14px;
  height: 14px;
}

basaran avatar Sep 20 '21 13:09 basaran

Maybe try https://github.com/jfcherng-sublime/ST-my-settings/blob/be2e801d6f144c114316d2779db306027006924c/Packages/HyperClick/html/ui.css#L11

jfcherng avatar Sep 20 '21 13:09 jfcherng

Even better, thank you)

basaran avatar Sep 20 '21 13:09 basaran

We should probably close this now.

basaran avatar Sep 20 '21 13:09 basaran