Skip to content
This repository was archived by the owner on Feb 13, 2019. It is now read-only.

Commit 60b247b

Browse files
Fix display of carousel images on older browsers
See: aspnet/Templates#582 Thanks!
1 parent 50c619a commit 60b247b

File tree

1 file changed

+7
-0
lines changed
  • templates/projects/webbasic/wwwroot/css

1 file changed

+7
-0
lines changed

templates/projects/webbasic/wwwroot/css/site.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,13 @@ textarea {
2222
font-size: 20px;
2323
line-height: 1.4;
2424
}
25+
26+
/* Make .svg files in the carousel display properly in older browsers */
27+
.carousel-inner .item img[src$=".svg"]
28+
{
29+
width: 100%;
30+
}
31+
2532
/* Hide/rearrange for smaller screens */
2633
@media screen and (max-width: 767px) {
2734
/* Hide captions */

0 commit comments

Comments
 (0)