stable

Clone or download

Read-only

Platform banner can be clamped

This is the same behavior than project banner clamping. This is even a copy paste of the code. Part of story #14670: display a site wide banner (motd) Change-Id: I9b26a58af2530b730fa89a2e36e33c99535663ef

Modified Files

Name
M src/scripts/platform/banner/index-bp.ts +2 −0 Go to diff View file
M src/scripts/platform/banner/index-fp.ts +2 −0 Go to diff View file
A src/scripts/platform/banner/platform-banner-clamp.test.ts +131 −0 Go to diff View file
A src/scripts/platform/banner/platform-banner-clamp.ts +84 −0 Go to diff View file
M src/themes/common/css/platform-banner/_platform-banner.scss +10 −0 Go to diff View file