mirror of
https://github.com/status-im/consul.git
synced 2025-01-10 22:06:20 +00:00
position edit this page link to bottom of page
This commit is contained in:
parent
e18fe6ecff
commit
5b54dacf64
@ -11,6 +11,18 @@
|
||||
}
|
||||
}
|
||||
|
||||
.edit-page-link{
|
||||
position: absolute;
|
||||
top: -110px;
|
||||
right: 30px;
|
||||
z-index: 9999;
|
||||
|
||||
a{
|
||||
text-transform: uppercase;
|
||||
color: $black;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
#footer{
|
||||
text-align: center;
|
||||
|
@ -175,7 +175,6 @@ description: |-
|
||||
|
||||
<div class="clearfix"></div>
|
||||
</div>
|
||||
<div class="edit-this-page"><a href="<%= github_url :current_page %>">Edit this page</a></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1,7 +1,10 @@
|
||||
<div id="footer" class="navigation">
|
||||
<div class="container">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<% if current_page.url != '/' %>
|
||||
<div class="edit-page-link"><a href="<%= github_url :current_page %>">Edit this page</a></div>
|
||||
<% end %>
|
||||
<div>
|
||||
<ul class="main-links white nav navbar-nav">
|
||||
<li><a href="/intro/index.html">Intro</a></li>
|
||||
|
@ -6,9 +6,6 @@
|
||||
<div id="main-content" class="col-md-8" role="main">
|
||||
<div class="bs-docs-section">
|
||||
<%= yield %>
|
||||
<% if current_page.url != '/' %>
|
||||
<div class="edit-this-page"><a href="<%= github_url :current_page %>">Edit this page</a></div>
|
||||
<% end %>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user