diff --git a/assets/javascripts/templates/pages/about_tmpl.coffee b/assets/javascripts/templates/pages/about_tmpl.coffee index 7157b6e7..63e76862 100644 --- a/assets/javascripts/templates/pages/about_tmpl.coffee +++ b/assets/javascripts/templates/pages/about_tmpl.coffee @@ -37,13 +37,15 @@ app.templates.aboutPage = -> """
  • Jeremy Kratz for the C/C++ logo - - -
    Documentation - Copyright - License - #{("
    #{c[0]}© #{c[1]}#{c[2]}" for c in credits).join('')} -
    +
    + + +
    Documentation + Copyright + License + #{("
    #{c[0]}© #{c[1]}#{c[2]}" for c in credits).join('')} +
    +

    Questions & Answers

    diff --git a/assets/javascripts/templates/pages/offline_tmpl.coffee b/assets/javascripts/templates/pages/offline_tmpl.coffee index b655aa82..fe42f19d 100644 --- a/assets/javascripts/templates/pages/offline_tmpl.coffee +++ b/assets/javascripts/templates/pages/offline_tmpl.coffee @@ -10,15 +10,17 @@ app.templates.offlinePage = (docs) -> """ - - - - - - - - #{docs} -
    DocumentationSizeStatusAction
    +
    + + + + + + + + #{docs} +
    DocumentationSizeStatusAction
    +

    Note: your browser may delete DevDocs's offline data if your computer is running low on disk space and you haven't used the app in a while. Load this page before going offline to make sure the data is still there.

    Questions & Answers

    diff --git a/assets/stylesheets/components/_content.scss b/assets/stylesheets/components/_content.scss index ecadd740..64ab1a98 100644 --- a/assets/stylesheets/components/_content.scss +++ b/assets/stylesheets/components/_content.scss @@ -373,6 +373,9 @@ ._code { @extend %code; } ._highlight { background: $highlightBackground !important; } +._table { width: 100%; } +._mobile ._table { overflow-x: auto; } + ._pre-clip { display: none; position: absolute; diff --git a/assets/stylesheets/components/_mobile.scss b/assets/stylesheets/components/_mobile.scss index 5a4981e7..b1863df1 100644 --- a/assets/stylesheets/components/_mobile.scss +++ b/assets/stylesheets/components/_mobile.scss @@ -105,12 +105,6 @@ max-width: none; margin-left: 0; } - - // Responsive browser compatibility tables - #compat-desktop, - #compat-mobile { - overflow-x: auto; - } } // diff --git a/assets/stylesheets/pages/_mdn.scss b/assets/stylesheets/pages/_mdn.scss index 4bd448ee..b59faece 100644 --- a/assets/stylesheets/pages/_mdn.scss +++ b/assets/stylesheets/pages/_mdn.scss @@ -102,4 +102,6 @@ .cleared { clear: both; } // CSS/box-shadow code > strong { font-weight: normal; } + + #compat-desktop, #compat-mobile { @extend ._table; } }