mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-06 21:45:50 +01:00
Add padding around repository readme content
It looks quite bad without padding.
This commit is contained in:
@@ -75,9 +75,9 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
@readme.map { content =>
|
@readme.map { content =>
|
||||||
<div class="box">
|
<div id="readme" class="box">
|
||||||
<div class="box-header">README.md</div>
|
<div class="box-header">README.md</div>
|
||||||
<div class="box-content">@markdown(content, repository, false, false)</div>
|
<div class="box-content">@markdown(content, repository, false, false)</div>
|
||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -458,6 +458,10 @@ pre.blob {
|
|||||||
padding-left: 20px;
|
padding-left: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#readme .box-content {
|
||||||
|
padding: 30px;
|
||||||
|
}
|
||||||
|
|
||||||
/****************************************************************************/
|
/****************************************************************************/
|
||||||
/* Issues */
|
/* Issues */
|
||||||
/****************************************************************************/
|
/****************************************************************************/
|
||||||
@@ -815,4 +819,4 @@ div.markdown-body table colgroup + tbody tr:first-child td:last-child {
|
|||||||
-webkit-border-top-right-radius: 4px;
|
-webkit-border-top-right-radius: 4px;
|
||||||
border-top-right-radius: 4px;
|
border-top-right-radius: 4px;
|
||||||
-moz-border-radius-topright: 4px;
|
-moz-border-radius-topright: 4px;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user