Commit 9cea793a authored by Coung Ngo's avatar Coung Ngo

Fix performance bar from sticking on Firefox

On Firefox, the `Gitlab performance bar` console log sticks
in the devtool console so Firefox users have to keep scrolling
down after every page load to go back to the default tailing
of new console logs. This commit fixes this.
parent c27807f2
......@@ -43,7 +43,7 @@ const logUserTimingMetrics = () => {
const initPerformanceBarLog = () => {
console.log(
`%c ${String.fromCodePoint(0x1f98a)} GitLab performance bar`,
'width:100%;background-color: #292961; color: #FFFFFF; font-size:24px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto; padding: 10px;display:block;padding-right: 100px;',
'width:100%; background-color: #292961; color: #FFFFFF; padding: 10px; display:block;',
);
initVitalsLog();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment