mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2025-01-18 19:00:24 +00:00
mobile: remove breadcrumb ellipsis #211
This commit is contained in:
parent
735dd21c52
commit
cd31de704d
1 changed files with 13 additions and 0 deletions
|
@ -991,6 +991,11 @@ span.nav i{
|
|||
white-space: nowrap;
|
||||
width: calc(100% - 4*3.25rem);
|
||||
}
|
||||
@media only all and (max-width: 47.938em) {
|
||||
#body #breadcrumbs {
|
||||
text-overflow: unset;
|
||||
}
|
||||
}
|
||||
|
||||
#sidebar-toggle-span {
|
||||
display: none;
|
||||
|
@ -1012,6 +1017,14 @@ span.nav i{
|
|||
display: inline;
|
||||
padding: 0 .75rem;
|
||||
}
|
||||
@media only all and (max-width: 47.938em) {
|
||||
#body #breadcrumbs .links {
|
||||
/* we just hide the breadcrumbs instead of display: none;
|
||||
this makes sure that the breadcrumbs are still usable for
|
||||
accessability */
|
||||
visibility: hidden;
|
||||
}
|
||||
}
|
||||
|
||||
#body #breadcrumbs .links * {
|
||||
display: inline-block;
|
||||
|
|
Loading…
Reference in a new issue