Skip to content

Commit

Permalink
🐛 Fix programme-max-width CSS var scope
Browse files Browse the repository at this point in the history
  • Loading branch information
yannbertrand committed Nov 18, 2024
1 parent e120bc9 commit 5972225
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion components/ProgrammeSummary.vue
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ const historyUnsafeProgramme = deepToRaw(programme);

<style scoped>
.programme {
--programme-max-width: 360px;
max-width: var(--programme-max-width);
height: 100%;
padding-top: 0;
Expand Down
1 change: 1 addition & 0 deletions layouts/default.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ useHead({
<style>
:root {
--pico-block-spacing-vertical: 2rem;
--programme-max-width: 360px;
}
.container {
padding-top: var(--pico-spacing);
Expand Down

0 comments on commit 5972225

Please sign in to comment.