From be939b7f8ff5310462806fcf9abdefd25321cb25 Mon Sep 17 00:00:00 2001 From: Jing Xu Date: Tue, 3 Sep 2024 17:37:45 +0900 Subject: [PATCH] update with new sanity_test template (#3234) --- _css/custom.css | 4 ++-- _scripts/actions.js | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/_css/custom.css b/_css/custom.css index 64b2705d5..187a0752c 100644 --- a/_css/custom.css +++ b/_css/custom.css @@ -150,8 +150,8 @@ } .code-svg { - width: 20px; - height: 20px; + width: 16px; + height: 16px; margin: 10px 5px 0px 8px; } diff --git a/_scripts/actions.js b/_scripts/actions.js index 2e9662f4a..409058c1e 100644 --- a/_scripts/actions.js +++ b/_scripts/actions.js @@ -607,7 +607,9 @@ $(document).ready(function() { }); } } - commands.push(data.sanity_test); + if(data.sanity_test.extra_commands != null) + commands = commands.concat(data.sanity_test.extra_commands); + commands = commands.concat(data.sanity_test.commands); ret += $.code_gen(commands); m = data.version.match("v([0-9\\.]+\\+([a-zA-Z]+))"); if(m != null && m.length == 3) {