Skip to content

Commit fa93ec6

Browse files
committed
adjust the sizing
1 parent bfaa218 commit fa93ec6

1 file changed

Lines changed: 9 additions & 10 deletions

File tree

03_labour_main.qmd

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ include-in-header:
1010
<style>
1111
.panel-tabset {
1212
display: grid;
13-
grid-gap: 0.8em;
13+
grid-gap: 0;
1414
grid-template-columns: 15% 85%;
1515
}
1616
@@ -28,22 +28,21 @@ include-in-header:
2828
flex-direction: column !important;
2929
flex-wrap: nowrap !important;
3030
border: none !important;
31-
text-align: right;
3231
}
3332
3433
.nav-item {
3534
display: block !important;
3635
width: 100% !important;
37-
margin-bottom: 0.5rem !important;
36+
margin-bottom: 0 !important;
3837
flex: none !important;
3938
}
4039
4140
.nav-link {
42-
font-size: 0.8rem !important;
41+
font-size: 0.75rem !important;
4342
text-align: right !important;
44-
padding: 0 !important;
45-
line-height: 1.2 !important;
46-
white-space: normal !important;
43+
padding: 0 2px !important;
44+
margin: 0 1px !important;
45+
line-height: normal !important;
4746
}
4847
.tab-content {
4948
border: none;
@@ -69,7 +68,7 @@ from brand_yml import Brand
6968
```{python}
7069
# | tags: [parameters]
7170
LABOUR_DATA_FILE = here() / "data" / "14100355.csv"
72-
FIGURE_THEME_SIZE = (10, 5)
71+
FIGURE_THEME_SIZE = (9, 5)
7372
FILTER_YEAR = (2018, 2025)
7473
BRAND = Brand.from_yaml(here())
7574
FONT_PRIMARY = BRAND.typography.base.model_dump()["family"]
@@ -148,9 +147,9 @@ LEGEND_LABELS = [
148147

149148
Track the number of industries gaining or losing jobs each month. Boxes are shaded based on percentage change from previous month in each industry's employment levels.
150149

151-
::: {.panel-tabset .nav-pills .column-screen-inset}
150+
::: {.panel-tabset .nav-pills .column-page-inset}
152151

153-
### flag
152+
### Select an Industry
154153

155154
```{python}
156155
# | output: asis

0 commit comments

Comments
 (0)