Skip to content

Commit 676e296

Browse files
authored
Merge pull request #727 from akeneo/API-1974-lower-the-subtitles-anchor-results-display-under-the-search-bar-api-doc
API-1974: Lower the subtitles anchor results display under the search bar
2 parents de87bee + cfddc4a commit 676e296

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

styles/anchor.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
a.anchor {
66
display: block;
77
position: relative;
8-
top: -@spacing-base * 1.25;
8+
top: -@spacing-base * 1.25 - @search-bar-height;
99
visibility: hidden;
1010
}
1111

styles/nav.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ ul.nav ul {
244244

245245
.search-bar-container{
246246
width: 100%;
247-
height: 64px;
247+
height: @search-bar-height;
248248
display: flex;
249249
align-items: center;
250250
justify-content: center;

styles/variables.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ sans-serif;
6060
@line-height-base: 1.7;
6161

6262
@spacing-base: 60px;
63-
63+
@search-bar-height: 64px;
6464

6565
@border-radius-base: 4px;
6666

0 commit comments

Comments
 (0)