Skip to content

Commit

Permalink
Space between elements for marathon mainpage
Browse files Browse the repository at this point in the history
Related to Issue #39
  • Loading branch information
BobChao87 committed Nov 29, 2021
1 parent fc34482 commit 0a22e69
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
1 change: 1 addition & 0 deletions components/marathon/Details.vue
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ export default Vue.extend({
}
.marathon-live-player {
margin-block-start: var(--spacing);
width: 100%;
max-width: 2560px;
height: 40vh;
Expand Down
10 changes: 9 additions & 1 deletion pages/marathon/_marathon/index.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div>
<div class="marathon-mainpage-container">
<MarathonDetails :marathon-id="marathonId" />
<MarathonDescription :marathon-id="marathonId" />
</div>
Expand All @@ -16,3 +16,11 @@ export default Vue.extend({
},
});
</script>

<style lang="scss" scoped>
.marathon-mainpage-container {
display: flex;
flex-direction: column;
gap: var(--spacing);
}
</style>

0 comments on commit 0a22e69

Please sign in to comment.