Sha256: 797b877cae5f2d14072dbb13fa944773c63eb52df408d2eeaa0b15db81faaf13

Contents?: true

Size: 1.01 KB

Versions: 40

Compression:

Stored size: 1.01 KB

Contents

@include govuk-media-query(tablet, $media-type: screen) {
  $toc-width: 330px;

  .flexbox, .flexboxtweener {

    body {
      overflow: hidden;
    }

    .app-pane {
      display: flex;
      flex-direction: column;
      overflow: hidden;
      height: 100vh;
    }

    .app-pane__header {
      display: flex;
      flex-direction: column;
      flex: 1 0 auto;

      > * {
        flex: 1 0 auto;
      }
    }

    .app-pane__body {
      display: flex;
      flex: 1 1 100%;
      min-height: 0;
      position: relative;

      > * {
        overflow-x: scroll;
        -webkit-overflow-scrolling: touch;
        -ms-overflow-style: none;
      }
    }

    .app-pane__toc {
      flex: 0 0 auto;
      width: $toc-width;
      border-right: 1px solid $govuk-border-colour;
    }

    .app-pane__content {
      flex: 1 1 auto;
    }
  }

  .no-flexbox.no-flexboxtweener,
  .no-js {
    .app-pane__toc {
      float: left;
      width: $toc-width;
    }

    .app-pane__content {
      margin-left: $toc-width;
    }
  }
}

Version data entries

40 entries across 40 versions & 1 rubygems

Version Path
govuk_tech_docs-4.1.1 lib/assets/stylesheets/modules/_app-pane.scss
govuk_tech_docs-4.1.0 lib/assets/stylesheets/modules/_app-pane.scss
govuk_tech_docs-4.0.0 lib/assets/stylesheets/modules/_app-pane.scss
govuk_tech_docs-3.5.0 lib/assets/stylesheets/modules/_app-pane.scss
govuk_tech_docs-3.4.5 lib/assets/stylesheets/modules/_app-pane.scss
govuk_tech_docs-3.4.0 lib/assets/stylesheets/modules/_app-pane.scss
govuk_tech_docs-3.3.1 lib/assets/stylesheets/modules/_app-pane.scss
govuk_tech_docs-3.3.0 lib/assets/stylesheets/modules/_app-pane.scss
govuk_tech_docs-3.2.1 lib/assets/stylesheets/modules/_app-pane.scss
govuk_tech_docs-3.2.0 lib/assets/stylesheets/modules/_app-pane.scss
govuk_tech_docs-3.1.0 lib/assets/stylesheets/modules/_app-pane.scss
govuk_tech_docs-3.0.1 lib/assets/stylesheets/modules/_app-pane.scss
govuk_tech_docs-3.0.0 lib/assets/stylesheets/modules/_app-pane.scss
govuk_tech_docs-2.4.3 lib/assets/stylesheets/modules/_app-pane.scss
govuk_tech_docs-2.4.2 lib/assets/stylesheets/modules/_app-pane.scss
govuk_tech_docs-2.4.1 lib/assets/stylesheets/modules/_app-pane.scss
govuk_tech_docs-2.4.0 lib/assets/stylesheets/modules/_app-pane.scss
govuk_tech_docs-2.3.0 lib/assets/stylesheets/modules/_app-pane.scss
govuk_tech_docs-2.2.2 lib/assets/stylesheets/modules/_app-pane.scss
govuk_tech_docs-2.2.1 lib/assets/stylesheets/modules/_app-pane.scss