Skip to content

Commit 6d93479

Browse files
committed
Merge pull request #1073 from Alex-D/hotfix_mobile_header
Hotfix mobile header
2 parents 4be211c + 01f1bae commit 6d93479

File tree

4 files changed

+30
-3
lines changed

4 files changed

+30
-3
lines changed

assets/js/markdown-help.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"html": "<div class=\"markdown-help-more\">" +
1515
"<p>Les simples retours à la ligne ne sont pas pris en compte. Pour créer un nouveau paragraphe, pensez à <em>sauter une ligne</em> !</p>" +
1616
"<pre><code>**gras** \n*italique* \n[texte de lien](url du lien) \n> citation \n+ liste a puces </code></pre>" +
17-
"<a href=\"http://zestedesavoir.com/articles/1/rediger-sur-zds/\">Voir la documentation complète</a></div>" +
17+
"<a href=\"http://zestedesavoir.com/articles/29/rediger-sur-zds/\">Voir la documentation complète</a></div>" +
1818
"<a href=\"#open-markdown-help\" class=\"open-markdown-help btn btn-grey ico-after view\">"+
1919
"<span class=\"close-markdown-help-text\">Masquer</span>" +
2020
"<span class=\"open-markdown-help-text\">Afficher</span> l'aide Markdown" +

assets/scss/_all-supports.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,6 @@
104104
.header-container header {
105105
background: #084561;
106106
border-bottom: 3px solid $orange;
107-
position: relative;
108107

109108
a,
110109
button {

assets/scss/_mobile.scss

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,34 @@
77

88

99
@media only screen and (max-width: 760px) {
10+
#cookies-banner {
11+
display: block;
12+
position: absolute;
13+
top: 50px;
14+
right: 0;
15+
bottom: 0;
16+
left: 0;
17+
z-index: 10;
18+
19+
p {
20+
margin-top: 40px;
21+
padding: 0 20px;
22+
}
23+
24+
a, #accept-cookies {
25+
display: block;
26+
width: 100%;
27+
height: 40px;
28+
padding: 0 !important;
29+
margin: 15px 0 0 0 !important;
30+
text-align: center;
31+
}
32+
a {
33+
margin-top: 40px !important;
34+
line-height: 40px;
35+
}
36+
}
37+
1038
html.dropdown-active {
1139
overflow: hidden;
1240

templates/500.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ <h2 class="box">Erreur 500</h2>
2929
{% block content %}
3030
<p>
3131
Si vous voyez cette page, c'est que vous avez trouvé un bug. Merci
32-
de reporter cette erreur en expliquant comment vous avez procédé
32+
de rapporter cette erreur en expliquant comment vous avez procédé
3333
pour tomber sur cette page.
3434
</p>
3535
{% endblock %}

0 commit comments

Comments
 (0)