Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
dune-website
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
23
Issues
23
List
Board
Labels
Milestones
Merge Requests
3
Merge Requests
3
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Infrastructure
dune-website
Commits
0a087d4a
Commit
0a087d4a
authored
Dec 04, 2018
by
Christian Engwer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix right panel layout
parent
6c29fdd9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
27 additions
and
4 deletions
+27
-4
footer.html
layouts/partials/footer.html
+2
-2
header.html
layouts/partials/header.html
+1
-0
style.css
static/css/style.css
+24
-2
No files found.
layouts/partials/footer.html
View file @
0a087d4a
...
...
@@ -13,8 +13,8 @@
{{ end }}
</div>
<div
class=
"col-md-
1 col-lg-2
"
>
<div
class
=
"rightpanel"
>
<div
class=
"col-md-
2 col-lg-3
"
>
<div
id
=
"rightpanel"
>
{{ safeHTML (.Scratch.Get "right-panel") }}
</div>
</div>
...
...
layouts/partials/header.html
View file @
0a087d4a
...
...
@@ -19,6 +19,7 @@
</div>
<div
class=
"row"
>
<div
class=
"col-xs-1"
id=
"leftpanel"
></div>
<div
class=
"col-xs-12
col-sm-12
col-md-10
...
...
static/css/style.css
View file @
0a087d4a
...
...
@@ -260,12 +260,21 @@ ul.sidebar-menu li.active a i {
margin-left
:
200px
;
line-height
:
1.8
;
font-size
:
inherit
;
overflow-x
:
hidden
;
}
#main-content
.sidebar-closed
{
margin-left
:
0px
;
}
#main-content
#leftpanel
{
display
:
none
;
}
#main-content
.sidebar-closed
#leftpanel
{
display
:
block
;
}
.wrapper
{
display
:
inline-block
;
margin
:
0px
;
...
...
@@ -522,8 +531,21 @@ i.freebsd-19px:before {
/* Table of contents */
.rightpanel
{
font-size
:
75%
;
padding-top
:
1em
;
}
.rightpanel
h4
{
margin-top
:
0pt
;
}
#rightpanel
{
margin-left
:
-15px
;
font-size
:
75%
;
width
:
calc
(
100%
+
15px
);
text-align
:
center
;
}
#rightpanel
h4
{
margin-top
:
0pt
;
}
#rightpanel
.well
{
display
:
inline-block
;
width
:
100%
;
left
:
0
;
width
:
100%
;
}
#TableOfContents
ul
{
list-style-type
:
decimal
;
margin
:
0
;
padding
:
0
1ex
;
}
#TableOfContents
a
{
font-weight
:
normal
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment