File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 16
16
{%- if link[1].first %}
17
17
< li class ="nav-item dropdown ">
18
18
< a class ="nav-link dropdown-toggle " href ="# " id ="navbarDropdown " role ="button " data-toggle ="dropdown " aria-haspopup ="true " aria-expanded ="false "> {{ link[0] }}</ a >
19
- < div class ="dropdown-menu " aria-labelledby ="navbarDropdown ">
19
+ < div class ="dropdown-menu dropdown-menu-right " aria-labelledby ="navbarDropdown ">
20
20
{%- for childlink in link[1] -%}
21
21
{%- for linkparts in childlink %}
22
22
< a class ="dropdown-item " href ="{{ linkparts[1] | relative_url }} "> {{ linkparts[0] }}</ a >
Original file line number Diff line number Diff line change @@ -247,20 +247,17 @@ img {
247
247
}
248
248
249
249
.navbar-custom .nav-item .dropdown .dropdown-menu {
250
- min-width : 0 ;
251
250
margin-top : 0 ;
252
251
font-size : 1em ;
253
252
border : 0 ;
253
+ min-width : 100% ;
254
254
padding : 0 ;
255
- width : 100% ;
256
- word-break : break-word;
257
255
}
256
+
258
257
.navbar-custom .nav-item .dropdown .dropdown-menu .dropdown-item {
259
- white-space : normal;
260
258
padding : 0.625rem ;
261
259
background-color : {{ site .navbar-col | default : "#EAEAEA" }};
262
260
text- decor ation: none !important ;
263
- bor der- width: 0 1px 1px 1px;
264
261
font- weight: normal;
265
262
color : {{ site.navbar-text-col | default : "#404040" }};
266
263
}
@@ -275,6 +272,10 @@ img {
275
272
border : 1px solid {{ site .navbar-border-col | default : "#DDDDDD" }};
276
273
bor der- width: 0 1px 1px;
277
274
}
275
+
276
+ .navbar-custom .nav-item .dropdown .dropdown-menu .dropdown-item : first-child {
277
+ border-top-width : 1px ;
278
+ }
278
279
}
279
280
280
281
@media (max-width : 1199px ) {
You can’t perform that action at this time.
0 commit comments