Skip to content

Commit 2ab15d7

Browse files
authored
fix docs dropdown (Codeception#301)
1 parent 35c8513 commit 2ab15d7

File tree

1 file changed

+30
-25
lines changed

1 file changed

+30
-25
lines changed

css/codeception.css

Lines changed: 30 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1019,35 +1019,10 @@ body .panel-info>.panel-heading a {
10191019
background-color: #ffffff;
10201020
}
10211021

1022-
@media (min-width: 768px) {
1023-
.dropdown-menu.columns-3 {
1024-
min-width: 100%;
1025-
left: 0;
1026-
right: auto;
1027-
overflow: hidden;
1028-
background-color: #F5F9FD;
1029-
}
1030-
1031-
.navbar>.container-fluid .navbar-brand {
1032-
margin-left: 0;
1033-
}
1034-
1035-
body .page {
1036-
padding: 1em 2em 2em;
1037-
}
1038-
}
1039-
10401022
.footer-logo:hover {
10411023
text-decoration: none;
10421024
}
10431025

1044-
@media screen and (min-width:992px) {
1045-
.navbar-right {
1046-
display: flex;
1047-
align-items: center;
1048-
}
1049-
}
1050-
10511026
.hero--symfony img {
10521027
width: 70%;
10531028
max-width: 800px;
@@ -1372,6 +1347,23 @@ body #footer .links {
13721347
padding-left: 0 !important;
13731348
padding-right: 0 !important;
13741349
}
1350+
1351+
.dropdown-menu.columns-3 {
1352+
min-width: 100%;
1353+
left: 0;
1354+
top: 100px;
1355+
right: auto;
1356+
overflow: hidden;
1357+
background-color: #F5F9FD;
1358+
}
1359+
1360+
.navbar>.container-fluid .navbar-brand {
1361+
margin-left: 0;
1362+
}
1363+
1364+
body .page {
1365+
padding: 1em 2em 2em;
1366+
}
13751367
}
13761368

13771369
@media screen and (min-width:991px) {
@@ -1431,6 +1423,15 @@ body #footer .links {
14311423
margin-left: 20px;
14321424
font-size: 18px;
14331425
}
1426+
1427+
.navbar-right {
1428+
display: flex;
1429+
align-items: center;
1430+
}
1431+
1432+
.dropdown-menu.columns-3 {
1433+
top: 52px;
1434+
}
14341435
}
14351436

14361437
@media screen and (min-width:1200px) {
@@ -1474,6 +1475,10 @@ body #footer .links {
14741475
.hero--quickstart {
14751476
margin-bottom: -400px;
14761477
}
1478+
1479+
.dropdown-menu.columns-3 {
1480+
top: 48px;
1481+
}
14771482
}
14781483

14791484
.team {

0 commit comments

Comments
 (0)