Skip to content

Commit 61dea5d

Browse files
samokissSamuel Gomis
andauthored
Fix 1912 (#711)
* fix(API-1912): responsive * fix(API-1912): responsive Co-authored-by: Samuel Gomis <[email protected]>
1 parent 999f25f commit 61dea5d

File tree

3 files changed

+64
-1
lines changed

3 files changed

+64
-1
lines changed

content/apps/apps.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,6 @@
3838
</div>
3939
<div class="block-create-app-row block-create-app-text">
4040
<img class="block-create-app-github" src="/img/icons/icon--github.png" />
41-
Interested by the big picture? Check a&nbsp;<span class="block-link"><a href="https://github.com/akeneo/demo-app">PHP App example.</a></span>
41+
<p>Interested by the big picture? Check a&nbsp;<span class="block-link"><a href="https://github.com/akeneo/demo-app">PHP App example.</a></span></p>
4242
</div>
4343
</div>

styles/apps-homepage.less

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,46 @@
118118
font-size: 20px;
119119
line-height: 24px;
120120
margin: 44px 0 38px 0;
121+
p {
122+
margin: 0;
123+
}
121124
}
122125

123126
.block-create-app-github {
124127
width: 36px;
125128
margin-right: 17px;
126129
}
130+
131+
132+
@media only screen and (max-width: 820px) {
133+
.block-about-app img {
134+
display: none;
135+
}
136+
137+
.arrow-back img {
138+
margin-top: 42px;
139+
margin-left: 10px;
140+
margin-right: 10px;
141+
align-items: center;
142+
width: 12px;
143+
transform: rotate(180deg);
144+
}
145+
146+
.next-steps-button-number {
147+
padding-top: 2px;
148+
font-size: 58px;
149+
}
150+
151+
.next-steps-button-text {
152+
font-size: 17px;
153+
}
154+
155+
.block-create-app-github {
156+
width: 36px;
157+
margin-left: 17px;
158+
}
159+
160+
.block-create-app-title {
161+
margin-left: 17px;
162+
}
163+
}

styles/nav.less

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,3 +259,29 @@ ul.nav ul {
259259
.search-bar{
260260
width: 100%;
261261
}
262+
263+
@media only screen and (max-width: 820px) {
264+
.search-bar-form {
265+
width: 100%;
266+
}
267+
268+
element.style {
269+
position: absolute;
270+
top: 100%;
271+
z-index: 100;
272+
left: 0px;
273+
right: auto;
274+
display: none;
275+
}
276+
.algolia-autocomplete.algolia-autocomplete-right .ds-dropdown-menu {
277+
right: 0!important;
278+
left: inherit!important;
279+
}
280+
.form-group.form-search span {
281+
width: 100%;
282+
}
283+
#algolia-autocomplete-listbox-0 {
284+
min-width: 100%;
285+
max-width: 100%;
286+
}
287+
}

0 commit comments

Comments
 (0)