Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchilleas Pipinellis <axil@gitlab.com>2018-03-27 21:40:20 +0300
committerAchilleas Pipinellis <axil@gitlab.com>2018-03-27 21:40:20 +0300
commit35404f2006cb8bf3e7051478b46d2a6d9f97af7d (patch)
treef7e9311c67c01e8edec2a31a6f2a9dfd675af286
parenta8ea641360cd982ca8b4ea878f96b88e316fc18d (diff)
parent198a61f4604004560e13c3501cefbd1bded6abde (diff)
Merge branch 'fix-responsive-table' into 'master'
Fixes broken table layout Closes #176 See merge request gitlab-com/gitlab-docs!229
-rw-r--r--content/assets/stylesheets/stylesheet.scss8
1 files changed, 5 insertions, 3 deletions
diff --git a/content/assets/stylesheets/stylesheet.scss b/content/assets/stylesheets/stylesheet.scss
index 7d4df3ba..dec5b540 100644
--- a/content/assets/stylesheets/stylesheet.scss
+++ b/content/assets/stylesheets/stylesheet.scss
@@ -1,5 +1,5 @@
---
-version: 31
+version: 32
---
@import "variables";
@@ -31,9 +31,10 @@ a, a:visited {
table {
width: 100%;
border-collapse: collapse;
- overflow-x: scroll;
+ overflow-x: auto;
border: 1px solid $table-border-color;
margin: 0 0 15px;
+ word-wrap: break-word;
thead {
background: $thead-background-color;
@@ -41,7 +42,8 @@ table {
tbody {
tr > td {
- max-width: 300px;
+ max-width: 100%;
+ min-width: 100px;
}
code {
word-wrap: break-word;