mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
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.
This commit is contained in:
committed by
Kirill Cherkashin
parent
9dd7cc13ca
commit
b26fe73a91
@@ -28,7 +28,9 @@
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
border-bottom: 1px solid var(--senary-contrast);
|
||||
transition: background 0.3s ease, border-color 0.3s ease;
|
||||
transition:
|
||||
background 0.3s ease,
|
||||
border-color 0.3s ease;
|
||||
padding-inline-end: 0.65rem;
|
||||
font-family: var(--inter-tight-font);
|
||||
height: 3rem;
|
||||
@@ -88,17 +90,12 @@
|
||||
align-items: center;
|
||||
width: auto;
|
||||
|
||||
&__show {
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
.docs-example-show-code {
|
||||
display: flex;
|
||||
gap: 0.5rem;
|
||||
align-items: center;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user