Skip to content

A node installed observable/inputs table seems to break the height? #1852

Answered by Fil
bbkane asked this question in Q&A
Discussion options

You must be logged in to vote

This module also needs a stylesheet, which is transparently added when you use npm.

if (set.has("npm:@observablehq/inputs")) implicits.add("observablehq:stdlib/inputs.css");

You can also load it from npm independently of the node module:

<link rel=stylesheet href="npm:@observablehq/inputs/dist/index.css">

However I'm not sure there is a simple way to load it from the node module directly
https://observablehq.com/framework/imports#node-imports

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@bbkane
Comment options

Answer selected by Fil
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants