Skip to content

Commit c799668

Browse files
committed
Add fix for mobile gh fork button
1 parent a456d87 commit c799668

File tree

4 files changed

+12
-2
lines changed

4 files changed

+12
-2
lines changed

doc/_static/libtmux.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
div#changelog > div.section > ul > li > p:only-child {
2+
margin-bottom: 0;
3+
}
4+
5+
@media screen and (max-width: 768px) {
6+
#fork-gh img {
7+
display: none;
8+
}
9+
}

doc/_templates/layout.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
{% extends "!layout.html" %}
33

44
{# Include our new CSS file into existing ones. #}
5-
{% set css_files = css_files + ['_static/tmuxp.css']%}
5+
{% set css_files = css_files + ['_static/libtmux.css']%}

doc/_templates/page.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{% extends "!page.html" %}
22
{% block footer -%}
33
{{ super() }}
4-
<a href="https://github.com/tony/libtmux">
4+
<a href="https://github.com/tony/libtmux" id="fork-gh">
55
<img style="position: absolute; top: 0; right: 0; border: 0;"
66
src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png"
77
alt="Fork me on GitHub">

doc/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656
html_theme = 'pyramid'
5757

5858
html_theme_path = ['_themes']
59+
html_static_path = ['_static']
5960

6061
htmlhelp_basename = '%sdoc' % about['__title__']
6162

0 commit comments

Comments
 (0)