matcornic / matcornic/hugo-theme-learn

Support for fixed table headers

Open
#94 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug help wanted
Dominant language
HTML
Stars
1.6k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

I've tried to use https://github.com/mjpclab/jquery-table-fixed-header in order to make table header rows fixed while scrolling. Unfortunately there seems to be something in the Hugo Learn Theme causing the fixed table header rows to be wider than the original table header.

fixed-header

I've failed to understand exactly what causes this behaviour. In all other examples not using Hugo I've tried, this problem does not exist.

Would be great if Hugo Theme Learn could include support for fixed table headers, either by solving any issues with https://github.com/mjpclab/jquery-table-fixed-header or by any other means.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the linked jquery-table-fixed-header behavior in the Hugo Learn Theme and compare the rendered header width with the original table while scrolling. Inspect the theme's table markup and styling to identify what affects the dimensions, then verify that fixed headers retain the original table width in a representative page.

Written by the indexing model from the issue text.

Assessment

Tech stack
html, jquery
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.