Skip to content
This repository has been archived by the owner on Aug 1, 2024. It is now read-only.

Commit

Permalink
import utils with context
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromedockes committed Jan 10, 2024
1 parent e298684 commit 794cd9c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/skrubview/_data/templates/dataframe-columns.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% from "utils.j2" import compact_id, collapse_const_id %}
{% from "utils.j2" import compact_id, collapse_const_id with context %}

{{ report_id_selector }}.skrubview-report .skrubview-float-end {
margin-inline-start: auto;
Expand Down
1 change: 1 addition & 0 deletions src/skrubview/_data/templates/dataframe-columns.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{% from "utils.j2" import compact_id, collapse_const_id with context %}
<div class="skrubview-wrapper">
<details open="">
<summary><h2>Columns</h2></summary>
Expand Down
2 changes: 0 additions & 2 deletions src/skrubview/_data/templates/report.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
{% from "utils.j2" import compact_id, collapse_const_id, report_id_selector %}

<div class="skrubview-report" id="{{ report_id }}">
<div class="skrubview-dataframe-summary skrubview-wrapper skrubview-text">
{% if summary.title %}
Expand Down

0 comments on commit 794cd9c

Please sign in to comment.