Skip to content

Commit 73754e8

Browse files
committed
Stop loading h5p icon from h5p.org [HFP-1215]
1 parent 1c6017d commit 73754e8

File tree

2 files changed

+30
-1
lines changed

2 files changed

+30
-1
lines changed

h5p.svg

+16
Loading

image-hotspot-question.css

+14-1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,19 @@
1313
position: relative;
1414
overflow: hidden;
1515
height: 100%;
16+
width: 100%;
17+
}
18+
19+
/**
20+
* This content type is embedded using DIV. there are several examples on themes
21+
* setting styles for all images, which affects this content type in a bad way.
22+
* Therefore overriding the most common ones here
23+
*/
24+
.h5p-image-hotspot-question .image-wrapper .hotspot-image {
25+
border: none !important;
26+
padding: 0 !important;
27+
max-width: none !important;
28+
margin: 0 !important;
1629
}
1730

1831
.h5p-image-hotspot-question .h5peditor .file img {
@@ -29,7 +42,7 @@
2942
.h5p-image-hotspot-question .image-loader:after {
3043
position: absolute;
3144
content: "";
32-
background: url('http://h5p.org/sites/all/themes/professional_themec/images/h5p.svg') no-repeat center;
45+
background: url('h5p.svg') no-repeat center;
3346
background-size: 50% 50%;
3447
width: 100%;
3548
height: 100%;

0 commit comments

Comments
 (0)