Set max-width for README, issue and merge request description

It allows easier text reading on big screens
Signed-off-by: NDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
上级 e8889b15
...@@ -13,6 +13,7 @@ $code_line_height: 1.5; ...@@ -13,6 +13,7 @@ $code_line_height: 1.5;
$border-color: #E5E5E5; $border-color: #E5E5E5;
$background-color: #f5f5f5; $background-color: #f5f5f5;
$header-height: 50px; $header-height: 50px;
$readable-width: 1100px;
/* /*
......
...@@ -45,3 +45,9 @@ ...@@ -45,3 +45,9 @@
.btn { font-size: 13px; } .btn { font-size: 13px; }
} }
.issuable-details {
.description {
max-width: $readable-width;
}
}
...@@ -116,6 +116,9 @@ ...@@ -116,6 +116,9 @@
} }
.readme-holder { .readme-holder {
margin: 0 auto;
max-width: $readable-width;
.readme-file-title { .readme-file-title {
font-size: 14px; font-size: 14px;
font-weight: bold; font-weight: bold;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册