Skip to content

Commit f149a04

Browse files
committed
correct display of fast access menu in topnav for small screen
1 parent 82de85e commit f149a04

1 file changed

Lines changed: 46 additions & 0 deletions

File tree

styles/yeswiki-base.css

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -310,6 +310,52 @@ body > :not(#YesWikiModal) .current-revision-text {
310310
display: none;
311311
}
312312

313+
#yw-topnav > .container
314+
{
315+
display : flex;
316+
flex-direction : row;
317+
row-gap : 1em;
318+
column-gap : 1em;
319+
align-items: center;
320+
}
321+
322+
#yw-topnav > .container > .btn-menu
323+
{
324+
width : max-content;
325+
min-width : max-content;
326+
max-width : max-content;
327+
height : max-content;
328+
}
329+
330+
#yw-topnav > .container > .navbar-header
331+
{
332+
width : max-content;
333+
margin-right : 1em;
334+
}
335+
336+
#yw-topnav > .container > .topnavpage
337+
{
338+
flex : 1;
339+
margin-right : 1em;
340+
}
341+
342+
#yw-topnav > .container > .yw-topnav-fast-access
343+
{
344+
margin-left : auto;
345+
width : max-content;
346+
display: flex;
347+
flex-direction: row;
348+
align-items: center;
349+
flex-wrap: wrap;
350+
justify-content: end;
351+
}
352+
353+
#yw-topnav > .container > .yw-topnav-fast-access > *
354+
{
355+
display : block;
356+
width : max-content;
357+
}
358+
313359
/* menu du haut fixe */
314360
#yw-topnav.fixable {
315361
position: sticky;

0 commit comments

Comments
 (0)