mirror of
https://github.com/profullstack/logicsrc.git
synced 2026-10-02 20:57:03 +00:00
fix(web): keep expanded skills navigation inside mobile viewport
This commit is contained in:
parent
25e18f0766
commit
60ffe1051a
2 changed files with 21 additions and 1 deletions
|
|
@ -950,6 +950,25 @@ pre {
|
|||
border-color: #3f5049;
|
||||
}
|
||||
|
||||
@media (max-width: 720px) {
|
||||
.rail nav .nav-group,
|
||||
.rail nav .nav-children {
|
||||
grid-column: 1 / -1;
|
||||
}
|
||||
.rail nav .nav-children {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
margin-left: 0;
|
||||
padding-left: 0;
|
||||
border-left: 0;
|
||||
}
|
||||
.rail nav .nav-children a {
|
||||
display: block;
|
||||
overflow-wrap: anywhere;
|
||||
text-align: left;
|
||||
}
|
||||
}
|
||||
|
||||
/* Breadcrumb trail at the top of every page but the home page. */
|
||||
.crumbs {
|
||||
width: 100%;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue