Skip to content

Commit 35e7f24

Browse files
committed
Merge pull request #46 from colab-community/gitlab-fixes-wiki
Fixed gitlab wiki page creation
2 parents fe45702 + 0e8a9ea commit 35e7f24

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

src/proxy/gitlab/diazo.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77
<before css:theme-children="#main-content" css:content-children="body" />
88

99
<merge attributes="class" css:theme="body" css:content="body" />
10+
11+
<!-- Add gitlab properties -->
12+
<merge attributes="data-page" css:theme="body" css:content="body" />
13+
<merge attributes="data-project-id" css:theme="body" css:content="body" />
1014

1115
<drop css:content="#top-panel" />
1216
<drop css:content=".navbar-gitlab" />

src/proxy/gitlab/templates/proxy/gitlab.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,14 @@
33

44
{% block head_css %}
55
<style>
6+
/* Reset left and with for .modal-dialog style (like gitlab does),
7+
the bootstrap.css one makes it small */
8+
@media screen and (min-width: 768px) {
9+
.modal-dialog {
10+
left: auto;
11+
width: auto;
12+
}
13+
}
614
div#main-content {
715
margin-top: 65px;
816
}

0 commit comments

Comments
 (0)