nutshell icon indicating copy to clipboard operation
nutshell copied to clipboard

Visibility of URL-related information in displayed Nutshell content

Open howardm opened this issue 2 years ago • 3 comments

Hi,

I haven't seen this previously: the display of URL-related information in the Red Box in the screenshot below:

Is that something new ? Will it display like this in the published web page ?

Screen Shot 2023-02-01 at 11 01 02 AM

Can one turn that off ?

Cheers.

Howard

howardm avatar Feb 01 '23 18:02 howardm

That was always there! It only shows up if you're embedding from a different page.

To remove it, you can add an extra line of CSS (like in this comment https://github.com/ncase/nutshell/issues/25#issuecomment-1412473980 ). The extra CSS to add is this one line:

.nutshell-bubble-from{ display:none; }

Cheers!

ncase avatar Feb 01 '23 18:02 ncase

P.S: To clarify, that means the total CSS you'd need to add is these two lines, to remove the share-link & from-link:

.nutshell-heading-embed{ display:none; }
.nutshell-bubble-from{ display:none; }

It's important they're on TWO different lines, otherwise the CSS won't work.

ncase avatar Feb 01 '23 18:02 ncase

That works!

I'm going to enjoy using Nutshell.

Thanks again.

howardm avatar Feb 01 '23 18:02 howardm