FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

docs(docs-infra): keep 'Show code' button aligned right and prevent m… · angular/angular@70bc311 · GitHub

Commit 70bc311

Browse files
authored andcommitted
docs(docs-infra): keep 'Show code' button aligned right and prevent metadata wrapping
Ensures the example viewer header displays correctly by keeping the "Show code" button aligned to the right and preventing metadata text from wrapping. Improves layout consistency across documentation examples. (cherry picked from commit b26fe73)
1 parent f73cfd5 commit 70bc311

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

‎adev/shared-docs/components/viewers/example-viewer/example-viewer.component.scss‎

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@
2828
align-items: center;
2929
gap: 0.5rem;
3030
border-bottom: 1px solid var(--senary-contrast);
31-
transition: background 0.3s ease, border-color 0.3s ease;
31+
transition:
32+
background 0.3s ease,
33+
border-color 0.3s ease;
3234
padding-inline-end: 0.65rem;
3335
font-family: var(--inter-tight-font);
3436
height: 3rem;
@@ -88,17 +90,12 @@
8890
align-items: center;
8991
width: auto;
9092

91-
&__show {
92-
margin-right: auto;
93-
}
94-
9593
.docs-example-show-code {
9694
display: flex;
9795
gap: 0.5rem;
9896
align-items: center;
9997
}
10098
}
101-
10299
}
103100
}
104101

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL