Skip to content

Commit

Permalink
fix css formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
rmccar committed Nov 16, 2023
1 parent 0f62887 commit 49b5b01
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/components/card/_card.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
& > .ons-card__title {
margin-bottom: 0;
}
}
}

&__link:hover {
text-decoration-thickness: 3px;
Expand Down
8 changes: 3 additions & 5 deletions src/scss/objects/_page.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,11 @@
@include mq(xxs, m) {
margin-top: 1.5rem;
}

}

// Adjust margin-top when .ons-page__main contains .ons-panel--error */
.ons-breadcrumbs ~ .ons-grid .ons-grid__col .ons-page__main:has(.ons-panel--error){
margin-top: 1rem;

// Adjust margin-top when .ons-page__main contains .ons-panel--error
.ons-breadcrumbs ~ .ons-grid .ons-grid__col .ons-page__main:has(.ons-panel--error) {
margin-top: 1rem;
}

.ons-page__body {
Expand Down

0 comments on commit 49b5b01

Please sign in to comment.