Skip to content

Commit

Permalink
fix(layout): backlinks grid triage (jackyzha0#1447)
Browse files Browse the repository at this point in the history
* fix: mobile backlinks orientation

* temp: hide broken list gradient

* fix: backlinks overflow
  • Loading branch information
saberzero1 authored Sep 30, 2024
1 parent 8889ab6 commit 1416f62
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 26 deletions.
44 changes: 22 additions & 22 deletions quartz/components/styles/backlinks.scss
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
@use "../../styles/variables.scss" as *;

.backlinks {
@media all and not ($mobile) {
overflow-y: auto;
display: flex;
flex-direction: column;
&:after {
flex-direction: column;
/*&:after {
pointer-events: none;
content: "";
width: 100%;
Expand All @@ -16,29 +13,32 @@
opacity: 1;
transition: opacity 0.3s ease;
background: linear-gradient(transparent 0px, var(--light));
}
}*/

& > h3 {
font-size: 1rem;
margin: 0;
}
& > h3 {
font-size: 1rem;
margin: 0;
}

& > ul {
list-style: none;
padding: 0;
margin: 0.5rem 0;
& > ul {
list-style: none;
padding: 0;
margin: 0.5rem 0;

& > li {
& > a {
background-color: transparent;
}
& > li {
& > a {
background-color: transparent;
}
}
}

& > .overflow {
&:after {
display: none;
}
& > .overflow {
&:after {
display: none;
}
height: auto;
@media all and ($desktop) {
height: 250px;
}
}
}
4 changes: 2 additions & 2 deletions quartz/components/styles/explorer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
display: flex;
}
}
&:after {
/*&:after {
pointer-events: none;
content: "";
width: 100%;
Expand All @@ -20,7 +20,7 @@
opacity: 1;
transition: opacity 0.3s ease;
background: linear-gradient(transparent 0px, var(--light));
}
}*/
}

button#explorer {
Expand Down
4 changes: 2 additions & 2 deletions quartz/styles/base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,7 @@ ol.overflow {
& > li:last-of-type {
margin-bottom: 30px;
}
&:after {
/*&:after {
pointer-events: none;
content: "";
width: 100%;
Expand All @@ -565,7 +565,7 @@ ol.overflow {
opacity: 1;
transition: opacity 0.3s ease;
background: linear-gradient(transparent 0px, var(--light));
}
}*/
}

.transclude {
Expand Down

0 comments on commit 1416f62

Please sign in to comment.