From 5ba791f813b9ed642dfd602bed431c656f8486b3 Mon Sep 17 00:00:00 2001 From: Gael Varoquaux Date: Tue, 20 Aug 2019 22:50:52 -0400 Subject: [PATCH] More mobile-friendly banner Make sure that the banner does not extend beyond the viewport to avoid the horizontal scroll. --- versionwarning.js | 1 - 1 file changed, 1 deletion(-) diff --git a/versionwarning.js b/versionwarning.js index 1fc187c80e0f8..132971a8befe9 100644 --- a/versionwarning.js +++ b/versionwarning.js @@ -9,7 +9,6 @@ 'font-size: 1.5em', 'border: 1px solid red', 'background: pink', - 'width: 100%', ].join('; ') + '">' + msg + '

') };