diff --git a/client/src/components/Map/components/Block.js b/client/src/components/Map/components/Block.js index 423cdd9405..f84a8312c7 100644 --- a/client/src/components/Map/components/Block.js +++ b/client/src/components/Map/components/Block.js @@ -131,7 +131,7 @@ export class Block extends Component {
  • -
    {blockNameify(blockDashedName)}
    +

    {blockNameify(blockDashedName)}

    {this.renderCheckMark( diff --git a/client/src/components/Map/components/Block.test.js b/client/src/components/Map/components/Block.test.js index c1d511315d..9bfff79578 100644 --- a/client/src/components/Map/components/Block.test.js +++ b/client/src/components/Map/components/Block.test.js @@ -74,7 +74,7 @@ test(' should handle toggle clicks correctly', () => { expect( enzymeWrapper .find('.map-title') - .find('h5') + .find('h4') .text() ).toBe('Block A'); @@ -88,7 +88,7 @@ test(' should handle toggle clicks correctly', () => { expect( enzymeWrapper .find('.map-title') - .find('h5') + .find('h4') .text() ).toBe('Block A'); expect(enzymeWrapper.find('ul').length).toBe(1); diff --git a/client/src/components/Map/components/__snapshots__/Block.test.js.snap b/client/src/components/Map/components/__snapshots__/Block.test.js.snap index 9027405988..f2f7ad04e3 100644 --- a/client/src/components/Map/components/__snapshots__/Block.test.js.snap +++ b/client/src/components/Map/components/__snapshots__/Block.test.js.snap @@ -9,9 +9,9 @@ exports[` not expanded snapshot: block-not-expanded 1`] = ` onClick={[Function]} > -
    +

    Block A -

    +
    @@ -44,9 +44,9 @@ exports[` -
    +

    Block A -

    +
    diff --git a/client/src/components/Map/map.css b/client/src/components/Map/map.css index 9ace48c60b..076b3f6fe0 100644 --- a/client/src/components/Map/map.css +++ b/client/src/components/Map/map.css @@ -23,7 +23,7 @@ border-bottom: 1px solid #e2e2e2; } -.map-title > h5 { +.map-title > h4 { margin-bottom: 0; } diff --git a/client/src/components/layouts/layout.css b/client/src/components/layouts/layout.css index aa3eb9129c..87cb934c95 100644 --- a/client/src/components/layouts/layout.css +++ b/client/src/components/layouts/layout.css @@ -223,7 +223,6 @@ h1 { color: inherit; font-family: 'Lato', -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif; - font-weight: bold; text-rendering: optimizeLegibility; font-size: 2.25rem; line-height: 1.1; @@ -240,7 +239,6 @@ h2 { color: inherit; font-family: 'Lato', -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif; - font-weight: bold; text-rendering: optimizeLegibility; font-size: 1.62671rem; line-height: 1.1; @@ -257,7 +255,6 @@ h3 { color: inherit; font-family: 'Lato', -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif; - font-weight: bold; text-rendering: optimizeLegibility; font-size: 1.38316rem; line-height: 1.1; @@ -274,7 +271,6 @@ h4 { color: inherit; font-family: 'Lato', -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif; - font-weight: bold; text-rendering: optimizeLegibility; font-size: 1rem; line-height: 1.1; @@ -291,7 +287,6 @@ h5 { color: inherit; font-family: 'Lato', -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif; - font-weight: bold; text-rendering: optimizeLegibility; font-size: 0.85028rem; line-height: 1.1; @@ -308,7 +303,6 @@ h6 { color: inherit; font-family: 'Lato', -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif; - font-weight: bold; text-rendering: optimizeLegibility; font-size: 0.78405rem; line-height: 1.1;