From b193625fb62fc6cee6b9cd2ddcac7b53d8e4c145 Mon Sep 17 00:00:00 2001 From: Liyas Thomas Date: Sat, 9 Nov 2019 21:10:00 +0530 Subject: [PATCH] :art: Version and hash on footer --- assets/css/styles.scss | 4 ++++ build.js | 2 +- layouts/default.vue | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/assets/css/styles.scss b/assets/css/styles.scss index 6650bd2af..f288d59c6 100644 --- a/assets/css/styles.scss +++ b/assets/css/styles.scss @@ -690,6 +690,10 @@ fieldset#history { text-align: right; } +.mono { + font-family: 'Roboto Mono', monospace; +} + #response-details-wrapper { position: relative; overflow: hidden; diff --git a/build.js b/build.js index 22ebe8164..80c27f80d 100644 --- a/build.js +++ b/build.js @@ -36,7 +36,7 @@ try { } // Get the current version hash as the short hash from Git. - version.hash = runCommand("git", ["rev-parse", "--short", "HEAD"]); + version.hash = runCommand("git", ["rev-parse --short HEAD"]); // Get the 'variant' name as the branch, if it's not master. version.variant = process.env.TRAVIS_BRANCH || diff --git a/layouts/default.vue b/layouts/default.vue index bba31372b..fd1ad7935 100644 --- a/layouts/default.vue +++ b/layouts/default.vue @@ -131,7 +131,7 @@ -

+