Skip to content

Commit

Permalink
fix ie arrows (fixes #498, via #512)
Browse files Browse the repository at this point in the history
  • Loading branch information
sseliverstov authored and baev committed Jul 31, 2017
1 parent d76f2e4 commit e457aa7
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 20 deletions.
11 changes: 0 additions & 11 deletions allure-generator/src/main/javascript/blocks/arrow/arrow.svg

This file was deleted.

10 changes: 5 additions & 5 deletions allure-generator/src/main/javascript/blocks/arrow/styles.scss
Original file line number Diff line number Diff line change
@@ -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;
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div>
<div class="attachment-row" data-uid="{{uid}}">
<span class="attachment-row__arrow block__arrow arrow"></span>
<span class="attachment-row__arrow block__arrow">{{angle}}</span>
<div class="attachment-row__icon">
<span class="{{fileicon type}}" data-tooltip="{{type}}"></span>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
&__arrow {
left: 7px;
position: absolute;
font-size: initial;
}
&__name {
flex: 1;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{#if stages}}
<div class="{{b 'step' expanded=expanded}}">
<div class="{{b 'step' 'title' hasContent=true stage=true}}">
<span class="step__arrow block__arrow arrow"></span>
<span class="step__arrow block__arrow">{{angle}}</span>
{{name}}
</div>
<div class="{{b 'step' 'content'}}">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{#if children}}
<div class="node" data-uid="{{uid}}">
<div class="node__title long-line" data-uid="{{uid}}">
<span class="node__arrow block__arrow arrow"></span>
<span class="node__arrow block__arrow">{{angle}}</span>
{{#if name}}
<div class="node__name">
{{name}}
Expand Down
6 changes: 6 additions & 0 deletions allure-generator/src/main/javascript/helpers/angle.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import {SafeString} from 'handlebars/runtime';


export default function() {
return new SafeString('<span class="angle fa fa-angle-right fa-fw fa-lg"></span>');
}
1 change: 1 addition & 0 deletions allure-generator/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ module.exports = (env) => {
new CaseSensitivePathsPlugin()
],
devServer: {
disableHostCheck: true,
contentBase: './build/demo-report/',
stats: {colors: true},
host: '0.0.0.0',
Expand Down

0 comments on commit e457aa7

Please # to comment.