lvwerra HF Staff commited on
Commit
b7d1c86
·
1 Parent(s): 5b6e11e

feat(embed): hide heading + caption, white background

Browse files
Files changed (1) hide show
  1. index.html +4 -2
index.html CHANGED
@@ -963,9 +963,11 @@ input.seq-input:focus, textarea.seq-input:focus {
963
 
964
 
965
 
966
- /* Iframe wrapper: tighten margins so the widget sits flush in an embed. */
967
- body { padding: 20px 24px; background: var(--bg); }
 
968
  .widget { max-width: 880px; margin: 0 auto; padding: 0; border: 0; }
 
969
  </style>
970
  </head>
971
  <body>
 
963
 
964
 
965
 
966
+ /* Iframe wrapper: white page, no widget chrome the host page provides the
967
+ heading and description, so we only ship the interactive demo card. */
968
+ body { padding: 20px 24px; background: #fff; }
969
  .widget { max-width: 880px; margin: 0 auto; padding: 0; border: 0; }
970
+ .widget__head, .widget__caption { display: none; }
971
  </style>
972
  </head>
973
  <body>