diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml index cf3d5895..62aa7a52 100644 --- a/bitbucket-pipelines.yml +++ b/bitbucket-pipelines.yml @@ -19,13 +19,14 @@ definitions: caches: npm: $HOME/.npm cypress: $HOME/.cache/Cypress + clientmodules: client/node_modules aliases: - &lint name: lint caches: - - node + - clientmodules script: - npm install --prefix client - npm run lint --prefix client @@ -43,6 +44,7 @@ aliases: caches: - pip - node + - clientmodules - npm artifacts: - client/cypress/**/*.png @@ -64,6 +66,7 @@ aliases: name: run jest tests caches: - node + - clientmodules script: - echo "This pipeline rules!" - *setup-tests diff --git a/client/src/components/ContentBlock.vue b/client/src/components/ContentBlock.vue index 28667a01..1b2085d3 100644 --- a/client/src/components/ContentBlock.vue +++ b/client/src/components/ContentBlock.vue @@ -248,7 +248,7 @@ @import "@/styles/_mixins.scss"; .content-block { - margin-bottom: 2.5em; + margin-bottom: $section-spacing; position: relative; &__container { @@ -257,10 +257,11 @@ &__title { line-height: 1.5; + margin-top: -0.5rem; // to offset the 1.5 line height, it leaves a padding on top } &__instrument-label { - margin-bottom: 0; + margin-bottom: $medium-spacing; @include regular-text(); } @@ -286,7 +287,9 @@ .content-block__title { color: $color-brand; margin-top: $default-padding; + margin-bottom: $large-spacing; @include light-border(bottom); + @include desktop { margin-top: 0; } diff --git a/client/src/components/content-blocks/ContentComponent.vue b/client/src/components/content-blocks/ContentComponent.vue index abb4c7bc..11b717d5 100644 --- a/client/src/components/content-blocks/ContentComponent.vue +++ b/client/src/components/content-blocks/ContentComponent.vue @@ -1,8 +1,8 @@