GithubHelp home page GithubHelp logo

Comments (6)

dataCobra avatar dataCobra commented on June 5, 2024 1

Hi Mohamed,

thank you for the information about the embeding of gists. I was not aware that my table styles would
make problems. I never used gists before.

I'll look into this and give you a response at soon as I've a idea on how to approach this. 👍

from hugo-vitae.

muhannad0 avatar muhannad0 commented on June 5, 2024

Thanks Ben.

I tried adding the following to main.css. It seems to fix the styling for the gist. Not sure if this is best practice for hugo themes, but it's a suggestion.

.gist table tbody tr:nth-of-type(even) {
  background-color: unset;
}

.gist table th, table td {
  border-bottom: unset;
}

from hugo-vitae.

dataCobra avatar dataCobra commented on June 5, 2024

Hey Mohamed,

could you send me your markdown file as a testing example for my changes?
This would help me a lot. 👍

from hugo-vitae.

muhannad0 avatar muhannad0 commented on June 5, 2024

Sure thing. Here's the test post I was using. (rename the file extension to .md)
test-gist.txt

from hugo-vitae.

dataCobra avatar dataCobra commented on June 5, 2024

@muhannad0, after some tries by me, it's clear that your suggestion was the best to work around this problem.

I would really appreciate if you could try this change out and give me feedback.
In a few days I will create a release with this fix.

from hugo-vitae.

muhannad0 avatar muhannad0 commented on June 5, 2024

Hi Ben. Just tested the with the new commit. The gist is displayed correctly, so its working fine. 👍

from hugo-vitae.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.