Re-land bbiggs changes to reduce margin on narrow screens with fixes + full width setting (#10522)

This commit is contained in:
Jacob Richman
2025-10-09 19:27:20 -07:00
committed by GitHub
parent c82c2c2b15
commit 558be87311
25 changed files with 492 additions and 385 deletions

View File

@@ -0,0 +1,15 @@
/**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
/**
* Linearly interpolates between two values.
*
* @param start The start value.
* @param end The end value.
* @param t The interpolation amount (typically between 0 and 1).
*/
export const lerp = (start: number, end: number, t: number): number =>
start + (end - start) * t;