Code Monkey home page Code Monkey logo

Comments (4)

AmazingRise avatar AmazingRise commented on July 24, 2024

I've checked the original version of this theme in Hexo.js.
In fact the table shown in Hexo.js is the same as now it is.
The table is indeed rendered, without border.
It maybe a feature or a bug, left in the original version.
Whatever it is, I'll fix it, as the table with no border really seems weird.
Thanks for that.

from hugo-theme-diary.

y9c avatar y9c commented on July 24, 2024

Thank you @AmazingRise. This looks really messy, especially for large tables with too much columns.
It would be nice if the bootstrap table framework can be adopted for paging and filtering.

I did try to make a fork for this feature, but it is too difficult for me. Looking forward to the update.

from hugo-theme-diary.

AmazingRise avatar AmazingRise commented on July 24, 2024

Fixed. And I made the table responsive to content width.
BTW I also fix some small issues at the same time.
Now please pull the latest version to have a view of it.

As for technical detail, I added four bootstrap classes to all the table elements. Click here to view related files.

That's a dirty hack, in some sense. Under the limitation of Hugo's markdown renderer, I did my best 😂️.
If some other questions appear, please feedback here. Thanks.

from hugo-theme-diary.

y9c avatar y9c commented on July 24, 2024

Much better! This commit solve my problem.

from hugo-theme-diary.

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.