Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

section2 images are not being displayed on Firefox Browsers #98

Open
nathanbiller opened this issue Nov 17, 2019 · 1 comment
Open

section2 images are not being displayed on Firefox Browsers #98

nathanbiller opened this issue Nov 17, 2019 · 1 comment
Labels
bug Something isn't working

Comments

@nathanbiller
Copy link
Contributor

Both Chrome and Safari correctly show these SVG icons, but when Firefox renders they're missing.

Screenshot 2019-11-17 14 48 25

@edwardch
Copy link

@nathanbiller this seems to be the svg file (really large) that needs to have its size specified.
For reference I used a 150px .png file and it displayed fine.

I fixed this by editing the //Icon box in _sections.scss

//Icon box
.media.icon-box {
    border-top: none !important;
    .media-content .content p {
        span {
            display: block;
        }
        .icon-box-title {
            color: $blue-grey;
            font-size: 1.2rem;
            font-weight: 600;
        }
        .icon-box-text {
            color: $title-grey;
            font-size: 1rem;
            font-weight: 400;
        }
    }
    // Add this here
    img {
        height: 150px;
        width: 150px;
    }
}

hth

@StefMa StefMa added the bug Something isn't working label Feb 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants