Skip to content

Commit 99c76db

Browse files
committed
hopefully fixing close cross on windows
1 parent 261a4f6 commit 99c76db

File tree

1 file changed

+19
-10
lines changed

1 file changed

+19
-10
lines changed

src/components/modal.vue

Lines changed: 19 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,15 @@
55
<div class="tcs-header">
66
<h2>{{ contractor.name }}</h2>
77
<router-link :to="{name: 'index'}" class="close">
8-
&#x274c;
8+
<!--
9+
this is the svg for map icon straight from
10+
https://github.com/encharm/Font-Awesome-SVG-PNG/blob/master/black/svg/times.svg
11+
-->
12+
<svg class="tcs-svg" viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg">
13+
<path d="M1490 1322q0 40-28 68l-136 136q-28 28-68 28t-68-28l-294-294-294 294q-28 28-68
14+
28t-68-28l-136-136q-28-28-28-68t28-68l294-294-294-294q-28-28-28-68t28-68l136-136q28-28 68-28t68
15+
28l294 294 294-294q28-28 68-28t68 28l136 136q28 28 28 68t-28 68l-294 294 294 294q28 28 28 68z"/>
16+
</svg>
917
</router-link>
1018
</div>
1119

@@ -16,7 +24,7 @@
1624
this is the svg for map icon straight from
1725
https://github.com/encharm/Font-Awesome-SVG-PNG/blob/master/black/svg/map-marker.svg
1826
-->
19-
<svg viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg">
27+
<svg class="tcs-svg" viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg">
2028
<path d="M1152 640q0-106-75-181t-181-75-181 75-75 181 75 181 181 75 181-75 75-181zm256 0q0 109-33
2129
179l-364 774q-16 33-47.5 52t-67.5 19-67.5-19-46.5-52l-365-774q-33-70-33-179 0-212 150-362t362-150
2230
362 150 150 362z"/>
@@ -131,6 +139,15 @@ $hightlight: #1f2e50;
131139
transition: all .3s ease;
132140
}
133141
142+
$svg-size: 22px;
143+
svg.tcs-svg {
144+
width: $svg-size;
145+
height: $svg-size;
146+
path {
147+
fill: $hightlight;
148+
}
149+
}
150+
134151
.tcs-header {
135152
margin-bottom: 10px;
136153
padding-bottom: 10px;
@@ -165,14 +182,6 @@ $hightlight: #1f2e50;
165182
.tcs-location {
166183
margin-bottom: 10px;
167184
float: right;
168-
$svg-size: 22px;
169-
svg {
170-
width: $svg-size;
171-
height: $svg-size;
172-
path {
173-
fill: $hightlight;
174-
}
175-
}
176185
span {
177186
display: inline-block;
178187
padding-top: 4px;

0 commit comments

Comments
 (0)