mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
docs(docs-infra): Enhances update guide layout responsiveness
The version dropdown width now uses `clamp()` for better responsiveness.
(cherry picked from commit 164cf98879)
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
@use '@angular/docs/styles/media-queries' as mq;
|
||||
|
||||
$ver-dropdown-width: 200px;
|
||||
$ver-dropdown-width: clamp(165px, 20vw, 200px);
|
||||
|
||||
:host {
|
||||
display: flex;
|
||||
flex-flow: column;
|
||||
align-items: center;
|
||||
padding: var(--layout-padding) 0px;
|
||||
padding: var(--layout-padding);
|
||||
container: update-guide-page / inline-size;
|
||||
|
||||
.docs-viewer {
|
||||
|
||||
Reference in New Issue
Block a user