diff --git a/allure-generator/src/main/javascript/blocks/arrow/arrow.svg b/allure-generator/src/main/javascript/blocks/arrow/arrow.svg deleted file mode 100644 index bc644c7bb..000000000 --- a/allure-generator/src/main/javascript/blocks/arrow/arrow.svg +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - diff --git a/allure-generator/src/main/javascript/blocks/arrow/styles.scss b/allure-generator/src/main/javascript/blocks/arrow/styles.scss index 1cc62c83d..3e8b0c5ea 100644 --- a/allure-generator/src/main/javascript/blocks/arrow/styles.scss +++ b/allure-generator/src/main/javascript/blocks/arrow/styles.scss @@ -1,16 +1,16 @@ .block__arrow { - top: 7px; position: absolute; visibility: visible; transition: transform 0.1s; font-weight: initial; + display: inline-block; + vertical-align: middle; + line-height: normal; &__expanded { transform: rotate(90deg); } } -.arrow { - width: 14px; - height: 14px; - background: url(./arrow.svg) center no-repeat; +.angle { + width: 18px; } \ No newline at end of file diff --git a/allure-generator/src/main/javascript/blocks/attachment-row/attachment-row.hbs b/allure-generator/src/main/javascript/blocks/attachment-row/attachment-row.hbs index a6125d631..66ffddcd9 100644 --- a/allure-generator/src/main/javascript/blocks/attachment-row/attachment-row.hbs +++ b/allure-generator/src/main/javascript/blocks/attachment-row/attachment-row.hbs @@ -1,6 +1,6 @@
- + {{angle}}
diff --git a/allure-generator/src/main/javascript/blocks/attachment-row/styles.scss b/allure-generator/src/main/javascript/blocks/attachment-row/styles.scss index 5ad7cbb9d..4aa15d7f7 100644 --- a/allure-generator/src/main/javascript/blocks/attachment-row/styles.scss +++ b/allure-generator/src/main/javascript/blocks/attachment-row/styles.scss @@ -26,7 +26,6 @@ &__arrow { left: 7px; position: absolute; - font-size: initial; } &__name { flex: 1; diff --git a/allure-generator/src/main/javascript/components/testresult-execution/stages-block.hbs b/allure-generator/src/main/javascript/components/testresult-execution/stages-block.hbs index d38fc241d..9f459b00b 100644 --- a/allure-generator/src/main/javascript/components/testresult-execution/stages-block.hbs +++ b/allure-generator/src/main/javascript/components/testresult-execution/stages-block.hbs @@ -1,7 +1,7 @@ {{#if stages}}
- + {{angle}} {{name}}
diff --git a/allure-generator/src/main/javascript/components/tree/tree-group.hbs b/allure-generator/src/main/javascript/components/tree/tree-group.hbs index 2162b4776..ee534d54f 100644 --- a/allure-generator/src/main/javascript/components/tree/tree-group.hbs +++ b/allure-generator/src/main/javascript/components/tree/tree-group.hbs @@ -1,7 +1,7 @@ {{#if children}}
- + {{angle}} {{#if name}}
{{name}} diff --git a/allure-generator/src/main/javascript/helpers/angle.js b/allure-generator/src/main/javascript/helpers/angle.js new file mode 100644 index 000000000..f36a59e3a --- /dev/null +++ b/allure-generator/src/main/javascript/helpers/angle.js @@ -0,0 +1,6 @@ +import {SafeString} from 'handlebars/runtime'; + + +export default function() { + return new SafeString(''); +} \ No newline at end of file diff --git a/allure-generator/webpack.config.js b/allure-generator/webpack.config.js index 223d6dbfa..c04490784 100644 --- a/allure-generator/webpack.config.js +++ b/allure-generator/webpack.config.js @@ -71,6 +71,7 @@ module.exports = (env) => { new CaseSensitivePathsPlugin() ], devServer: { + disableHostCheck: true, contentBase: './build/demo-report/', stats: {colors: true}, host: '0.0.0.0',