Skip to content

Commit

Permalink
refactor: adjust breadcrumbs margin (#701)
Browse files Browse the repository at this point in the history
refactor: adjust details padding
  • Loading branch information
melaniebmn authored Dec 11, 2024
1 parent 4386ec9 commit 9ea1447
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"@babel/core": "^7.20.12",
"@babel/preset-env": "^7.20.2",
"@babel/preset-typescript": "^7.21.0",
"@cdssnc/gcds-tokens": "^2.0.0",
"@cdssnc/gcds-tokens": "^2.0.1",
"@fortawesome/fontawesome-free": "^6.3.0",
"@stencil/angular-output-target": "file:../../utils/angular-output-target",
"@stencil/postcss": "^2.1.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@
@layer default {
:host(.gcds-breadcrumbs-item) {
position: relative;
margin: var(--gcds-breadcrumbs-item-margin) !important;

@media screen and (width >= 30rem) {
margin: var(--gcds-breadcrumbs-item-margin) !important;
}

&:before {
position: relative;
Expand All @@ -30,7 +33,7 @@

/* Note: mobile specific style decision */
@layer mobile {
@media screen and (max-width: 30rem) {
@media screen and (width < 30rem) {
:host(.gcds-breadcrumbs-item) {
display: block;
margin: var(--gcds-breadcrumbs-mobile-item-margin) !important;
Expand Down

0 comments on commit 9ea1447

Please sign in to comment.