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

Commit

Permalink
spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromedockes committed Jan 11, 2024
1 parent cbd2360 commit f0a05a1
Showing 1 changed file with 16 additions and 7 deletions.
23 changes: 16 additions & 7 deletions src/skrubview/_data/templates/dataframe-columns.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,32 +6,41 @@
}

{{ report_id_selector }}.skrubview-report .skrubview-column-summary-group {
display: flex;
flex-direction: column;
gap: var(--skrubview-small);
padding-block-start: var(--skrubview-tiny);
padding-block-end: var(--skrubview-tiny);
padding-inline-end: var(--skrubview-small);
min-width: min-content;
max-width: max-content;
}

{{ report_id_selector }}.skrubview-report .skrubview-column-summary-group > * {
margin: 0;
}

{{ report_id_selector }}.skrubview-report .skrubview-column-summary-content {
display: flex;
flex-wrap: wrap;
column-gap: var(--skrubview-tiny);
}

#{{ compact_id }} {
:is(#{{ compact_id }}, #{{ compact_id }} + label ){
display: none;
}

#{{ compact_id }} + label {
display: none;
}

@media screen and (min-width: 70rem) {
@media screen and (min-width: 60rem) {
{{ report_id_selector }}.skrubview-report #{{ compact_id }}:checked ~ .skrubview-column-summary-group {
display: flex;
flex-direction: row;
flex-wrap: wrap;
gap: var(--skrubview-small);
}

{{ report_id_selector }}.skrubview-report #{{ compact_id }}:checked ~ * .skrubview-column-summary-content {
display: block;
display: flex;
flex-direction: column;
}

:is(#{{ compact_id }}, #{{ compact_id }} + label ) {
Expand Down

0 comments on commit f0a05a1

Please sign in to comment.