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

table of contents do no look well #221

Closed
junqing-zhang opened this issue Apr 16, 2019 · 8 comments
Closed

table of contents do no look well #221

junqing-zhang opened this issue Apr 16, 2019 · 8 comments
Labels
bug A bug.
Milestone

Comments

@junqing-zhang
Copy link

I was trying to use table of contents for the posts and pages. It worked but the format did not look well. I wonder if anyone had similar issue.

@ning-y
Copy link
Contributor

ning-y commented Apr 16, 2019

Can you include a screenshot? There are many different ways that the table of contents can 'not look well'.

@junqing-zhang
Copy link
Author

Hello ningyuansg, please see the two screenshot below.
toc_page
toc_post

I have also enabled the toc in my links now and you can visit them
https://junqing-zhang.github.io/publication/
https://junqing-zhang.github.io/posts/2019/04/12/keygendemo/

Many thanks for the help.

@junqing-zhang
Copy link
Author

junqing-zhang commented Apr 17, 2019

I checked on the mobile side and it looked well, as the screenshot shown below:


...

@bertolinocastro
Copy link

bertolinocastro commented Jul 19, 2020

Hi! I just came up with this same issue and saw that my problem was some "width: 0px" style for the class sidebar__right at the _sass/sidebar style sheet. I just commented both occurences and voilà.

dmavrides added a commit to dmavrides/dmavrides.github.io that referenced this issue Nov 3, 2022
trying the fix from academicpages#221 to see if I can get my toc displaying properly
@lzkelley
Copy link

The above fix didn't exactly work for me, but the same idea, these lines in _sass/_variables.scss were set to zero widths:

$right-sidebar-width-narrow : 0px;
$right-sidebar-width        : 0px;
$right-sidebar-width-wide   : 0px

I change each of them to float and this fixed the problem.

movephutthaphaiboon added a commit to movephutthaphaiboon/movephutthaphaiboon.github.io that referenced this issue Jan 3, 2024
@rjzupkoii rjzupkoii added question Issues that are just questions. bug A bug. and removed question Issues that are just questions. labels Feb 14, 2024
@rjzupkoii rjzupkoii added this to the 2024 Refresh milestone Feb 14, 2024
@rjzupkoii
Copy link
Collaborator

This might be addressed between updating the libraries and doing the basic refresh.

@rjzupkoii rjzupkoii assigned rjzupkoii and unassigned rjzupkoii Feb 14, 2024
@rjzupkoii
Copy link
Collaborator

I'm unable to reproduce this behavior using the Chrome Web Developer tools, so this might have gotten fixed with the other revisions. I'm going to go ahead and close this issue for now.

@qhuang-math
Copy link

The problem addressed by @bertolinocastro also happened to me, while the solution by @lzkelley didn't work for me. I tried the following variables found in jayrobwilliams.github.io/_sass/_variables.scss

$right-sidebar-width-narrow : 200px !default;
$right-sidebar-width        : 300px !default;
$right-sidebar-width-wide   : 400px !default;

they worked well.

Samir-Rashid added a commit to Samir-Rashid/Samir-Rashid.github.io that referenced this issue Sep 18, 2024
Fix by @qhuang-math. I have also removed underlining of toc links, which was being overridden by post body css.
rjzupkoii added a commit that referenced this issue Sep 18, 2024
yoyolicoris added a commit to iamycy/iamycy.github.io that referenced this issue Oct 7, 2024
* Increase font size in code blocks

See academicpages#59

* Adds missing semi-colon

* fix font awesome code icon in syntax box

* Fix encoding issue with bib files

* add goodreads to site

* change orcid color

* add medium icon

* add medium profile

* Resolve Google Scholar link not displayed

There was as slight typo in the logic due to which the google scholar link for the respective author's profile set in Config was not being displayed.

* Adding pronouns field to author profile

* Add Google Analytics 4 Support

* fix: Remove deprecated JavaScript to avoid load error from 404 page

* Update files to be ignored

* + webrick to gem file

* academicpages#1902 RM excerpt in pages

* Start updating the README

* academicpages#456 Use real Google Scholar link as an example

* Update issue templates

* RM minimal mistakes changelog

* academicpages#1906

* Edit readme

* + Syntax highlighting example

* Update README.md

* Update README

* Correct syntax

* Streamline config organization for new users

* Add Mastodon to social media

* Closes academicpages#696 with new Kaggle link

* Adjustments to Kaggle link

* Closes academicpages#271 with addition of arXiv

* academicpages#244, academicpages#1600, academicpages#1917 update font awesome to v6, add icons

* Closes academicpages#1911 with update to Academicons

* Closes academicpages#1671 with a new favicon

* academicpages#462 update inline documentation

* academicpages#1041 allow links to wrap

* Closes academicpages#1773 with update to HTML

* Closes academicpages#45 with an update to the CV generator

* academicpages#33, academicpages#1919 Possible missing template fix, bump MathJax to 3.0

* academicpages#1153 add Zhihu

* Closes academicpages#1905 with updates to documentation

* Closes academicpages#693 with updates to documentation and location of citation

* Closes academicpages#820 with updated style

* added missing spanish translations and updated some of the previous ones on ui-text-yml

* Replace `polyfill.io`

* Closes academicpages#1972, update Markdown documentation

* Closes academicpages#1936 with setting to hide RSS feed

* academicpages#1935 clean-up the footer follow a bit

* RM old development override

* Make it clearer where the footnotes are

* academicpages#1975 ignore files created by npm

* Closes academicpages#339 with a fixed masthead

* academicpages#1975 version updates, manage jQuery from npm

* Closes academicpages#1970 with responsive element

* Fix typo

* Closes academicpages#1999

* scroll in sidebar

* scroll in sidebar

* Add scroll to sidebar and adjust media query for screen adaptability

* Closes academicpages#2029 with update to sidebar

* Closes academicpages#1917 with with icon, FA bump to 6.5.2

* academicpages#2061 Update README with note on dependencies

* Closes academicpages#2055 with adjustment to masthead-height

* Adjust variable name to prevent confusion

* Update casing of template name

* Fix typo in build-essential package name.

The package which is required for this installation is named `build-essential`, not `build-essentials`.

* Fix academicpages#1920 by allowing text to wrap

* Add support to semantic scholar in author profile

* Support for displaying slides on publication pages

* Addressed PR academicpages#2126 review comments

* Fix typo, modifications to style

* Update _config.yml

Make claimed default and actual default consistent

* Add Chinese (both simplified and traditional) to ui-text.yml

Simplified Chinese:
  zh
  zh-CN

Traditional Chinese:
  zh-HK
  zh-TW

* Adds commands for MacOS

* Update README.md

* academicpages#2316 update padding

* academicpages#2318 updating documentation a bit

* Alphabetize the excludes

* Closes academicpages#48 with a more general and customizable approach

* fix: lastfm url

* Update README.md

* Fixing YouTube URL generation in author-profile.html

YouTube does not use /user/username at the moment. If a person has a YouTube handle, the URL is:
www.youtube.com/@HANDLE

The fix is very minimal but I needed it for my website so I've also added it here.

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* academicpages#1975 cleaning up the gem files a bit

* academicpages#1975 update fitvids to NPM

* academicpages#1975 update magnific-popup to NPM

* academicpages#1975 update smooth scroll to NPM

* Closes academicpages#1975 RM stickyfill in favor of native browser support

* Closes academicpages#2287, academicpages#534 with updates to documentation, better emoji generation

* Add a dockerfile

* Update README.md

* bug: comments appear at bottom of page

* Closes academicpages#146 with information the details HTML tag

* Minor formatting

* Closes academicpages#828 with update to put the pages last update in the footer.

* academicpages#828 different format string

* academicpages#828 adjustments to account for GitHub Pages limitations

* Fix toc crop (academicpages#221)

Fix by @qhuang-math. I have also removed underlining of toc links, which was being overridden by post body css.

* Reduce excessive footer padding

* Fix misalignment of navigation bar with post body

There was a regression in the template updates where the navigation bar no longer aligns with the post left margin at normal viewport.

* Add notebook to fetch publication information from orcid

* Update author-profile.html

improve alignment of "employer" sidebar

* Closes academicpages#2469 with update to only use username

* academicpages#1093 MV notebook to generator directory

* Update Dockerfile

---------

Co-authored-by: Steve <sbitner@uwf.edu>
Co-authored-by: Rob Williams <jayrobwilliams@gmail.com>
Co-authored-by: sigma67 <benedikt.putz@wiwi.uni-regensburg.de>
Co-authored-by: naveenarun <notatroll.troll@gmail.com>
Co-authored-by: Mohit_Gupta <52665879+Mohit-15@users.noreply.github.com>
Co-authored-by: Bhavish Pahwa <53102161+bp-high@users.noreply.github.com>
Co-authored-by: amyzlc <6166519+amyzlc@users.noreply.github.com>
Co-authored-by: Sonny Arora <sonnyarora@Sonnys-MacBook-Air.local>
Co-authored-by: Bhav Beri <43399374+bhavberi@users.noreply.github.com>
Co-authored-by: rjzupkoii <rjzii@yahoo.com>
Co-authored-by: johnhandleyd <translatjohn@gmail.com>
Co-authored-by: SukkaW <isukkaw@gmail.com>
Co-authored-by: Maximiliano <maximilianogalindo7@gmail.com>
Co-authored-by: Dan Grahn <dgrahn@users.noreply.github.com>
Co-authored-by: Dan Grahn <dan.grahn@altamiracorp.com>
Co-authored-by: thiagorr162 <thiagorr162@gmail.com>
Co-authored-by: Saravanan D. <saravananinca@gmail.com>
Co-authored-by: Manuel Haussmann <manuel.haussmann@mailbox.org>
Co-authored-by: Yuhang YAN (Henry) <96647290+YanY-Henry@users.noreply.github.com>
Co-authored-by: Zarela <zarelavp@yahoo.com>
Co-authored-by: Yanchen Huang <90331527+02hyc@users.noreply.github.com>
Co-authored-by: edbrito-swdev <90706749+edbrito-swdev@users.noreply.github.com>
Co-authored-by: Alberto Barradas <abcsds@gmail.com>
Co-authored-by: Samir Rashid <Samir-Rashid@godsped.com>
Co-authored-by: Carlos Martinez <neocarlitos@gmail.com>
Co-authored-by: Xiaofei (Carl) Zang <xbz5174@psu.edu>
Co-authored-by: Zoe <60870971+zoelesv@users.noreply.github.com>
austinwli pushed a commit to austinwli/austinwli.github.io that referenced this issue Oct 13, 2024
Fix by @qhuang-math. I have also removed underlining of toc links, which was being overridden by post body css.
KameniAlexNea added a commit to KameniAlexNea/KameniAlexNea.github.io that referenced this issue Oct 23, 2024
…ion (#6)

* Add Chinese (both simplified and traditional) to ui-text.yml

Simplified Chinese:
  zh
  zh-CN

Traditional Chinese:
  zh-HK
  zh-TW

* Adds commands for MacOS

* Update README.md

* academicpages#2316 update padding

* academicpages#2318 updating documentation a bit

* Alphabetize the excludes

* Closes academicpages#48 with a more general and customizable approach

* fix: lastfm url

* Update README.md

* Fixing YouTube URL generation in author-profile.html

YouTube does not use /user/username at the moment. If a person has a YouTube handle, the URL is:
www.youtube.com/@HANDLE

The fix is very minimal but I needed it for my website so I've also added it here.

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* academicpages#1975 cleaning up the gem files a bit

* academicpages#1975 update fitvids to NPM

* academicpages#1975 update magnific-popup to NPM

* academicpages#1975 update smooth scroll to NPM

* Closes academicpages#1975 RM stickyfill in favor of native browser support

* Closes academicpages#2287, academicpages#534 with updates to documentation, better emoji generation

* Add a dockerfile

* Update README.md

* bug: comments appear at bottom of page

* Closes academicpages#146 with information the details HTML tag

* Minor formatting

* Closes academicpages#828 with update to put the pages last update in the footer.

* academicpages#828 different format string

* academicpages#828 adjustments to account for GitHub Pages limitations

* Fix toc crop (academicpages#221)

Fix by @qhuang-math. I have also removed underlining of toc links, which was being overridden by post body css.

* Reduce excessive footer padding

* Fix misalignment of navigation bar with post body

There was a regression in the template updates where the navigation bar no longer aligns with the post left margin at normal viewport.

* Add notebook to fetch publication information from orcid

* Update author-profile.html

improve alignment of "employer" sidebar

* Closes academicpages#2469 with update to only use username

* academicpages#1093 MV notebook to generator directory

* eak: first version of accademic project (#3)

* Update CV md

* updating CV

* first version of cv

* Adding obj detr and specialized llm model projects (#4)

* Adding some projects

* Adding object detection model

* Adding llm telecom project

* Adding courses, update projects

* Adding awards, courses, update cv and navition

---------

Co-authored-by: Yuhang YAN (Henry) <96647290+YanY-Henry@users.noreply.github.com>
Co-authored-by: rjzupkoii <rjzii@yahoo.com>
Co-authored-by: Zarela <zarelavp@yahoo.com>
Co-authored-by: Yanchen Huang <90331527+02hyc@users.noreply.github.com>
Co-authored-by: edbrito-swdev <90706749+edbrito-swdev@users.noreply.github.com>
Co-authored-by: Alberto Barradas <abcsds@gmail.com>
Co-authored-by: Samir Rashid <Samir-Rashid@godsped.com>
Co-authored-by: Carlos Martinez <neocarlitos@gmail.com>
Co-authored-by: Xiaofei (Carl) Zang <xbz5174@psu.edu>
Guancheng1 pushed a commit to Guancheng1/Guancheng1.github.io that referenced this issue Nov 8, 2024
Fix by @qhuang-math. I have also removed underlining of toc links, which was being overridden by post body css.
Guancheng1 pushed a commit to Guancheng1/Guancheng1.github.io that referenced this issue Nov 8, 2024
dorukaks pushed a commit to dorukaks/dorukaks2.github.io that referenced this issue Nov 24, 2024
Fix by @qhuang-math. I have also removed underlining of toc links, which was being overridden by post body css.
schanghydro pushed a commit to schanghydro/schanghydro.github.io that referenced this issue Jan 2, 2025
Fix by @qhuang-math. I have also removed underlining of toc links, which was being overridden by post body css.
schanghydro pushed a commit to schanghydro/schanghydro.github.io that referenced this issue Jan 2, 2025
DavidSteeman added a commit to Knevel-Lab/Knevel-Lab.github.io that referenced this issue Jan 10, 2025
* Increase font size in code blocks

See academicpages#59

* Adds missing semi-colon

* fix font awesome code icon in syntax box

* Fix encoding issue with bib files

* add goodreads to site

* change orcid color

* add medium icon

* add medium profile

* Resolve Google Scholar link not displayed

There was as slight typo in the logic due to which the google scholar link for the respective author's profile set in Config was not being displayed.

* Adding pronouns field to author profile

* Add Google Analytics 4 Support

* fix: Remove deprecated JavaScript to avoid load error from 404 page

* Update files to be ignored

* + webrick to gem file

* academicpages#1902 RM excerpt in pages

* Start updating the README

* academicpages#456 Use real Google Scholar link as an example

* Update issue templates

* RM minimal mistakes changelog

* academicpages#1906

* Edit readme

* + Syntax highlighting example

* Update README.md

* Update README

* Correct syntax

* Streamline config organization for new users

* Add Mastodon to social media

* Closes academicpages#696 with new Kaggle link

* Adjustments to Kaggle link

* Closes academicpages#271 with addition of arXiv

* academicpages#244, academicpages#1600, academicpages#1917 update font awesome to v6, add icons

* Closes academicpages#1911 with update to Academicons

* Closes academicpages#1671 with a new favicon

* academicpages#462 update inline documentation

* academicpages#1041 allow links to wrap

* Closes academicpages#1773 with update to HTML

* Closes academicpages#45 with an update to the CV generator

* academicpages#33, academicpages#1919 Possible missing template fix, bump MathJax to 3.0

* academicpages#1153 add Zhihu

* Closes academicpages#1905 with updates to documentation

* Closes academicpages#693 with updates to documentation and location of citation

* Closes academicpages#820 with updated style

* added missing spanish translations and updated some of the previous ones on ui-text-yml

* Replace `polyfill.io`

* Closes academicpages#1972, update Markdown documentation

* Closes academicpages#1936 with setting to hide RSS feed

* academicpages#1935 clean-up the footer follow a bit

* RM old development override

* Make it clearer where the footnotes are

* academicpages#1975 ignore files created by npm

* Closes academicpages#339 with a fixed masthead

* academicpages#1975 version updates, manage jQuery from npm

* Closes academicpages#1970 with responsive element

* Fix typo

* Closes academicpages#1999

* scroll in sidebar

* scroll in sidebar

* Add scroll to sidebar and adjust media query for screen adaptability

* Closes academicpages#2029 with update to sidebar

* Closes academicpages#1917 with with icon, FA bump to 6.5.2

* academicpages#2061 Update README with note on dependencies

* Closes academicpages#2055 with adjustment to masthead-height

* Adjust variable name to prevent confusion

* Update casing of template name

* Fix typo in build-essential package name.

The package which is required for this installation is named `build-essential`, not `build-essentials`.

* Fix academicpages#1920 by allowing text to wrap

* Add support to semantic scholar in author profile

* Support for displaying slides on publication pages

* Addressed PR academicpages#2126 review comments

* Fix typo, modifications to style

* Update _config.yml

Make claimed default and actual default consistent

* Add Chinese (both simplified and traditional) to ui-text.yml

Simplified Chinese:
  zh
  zh-CN

Traditional Chinese:
  zh-HK
  zh-TW

* Adds commands for MacOS

* Update README.md

* academicpages#2316 update padding

* academicpages#2318 updating documentation a bit

* Alphabetize the excludes

* Closes academicpages#48 with a more general and customizable approach

* fix: lastfm url

* Update README.md

* Fixing YouTube URL generation in author-profile.html

YouTube does not use /user/username at the moment. If a person has a YouTube handle, the URL is:
www.youtube.com/@HANDLE

The fix is very minimal but I needed it for my website so I've also added it here.

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* academicpages#1975 cleaning up the gem files a bit

* academicpages#1975 update fitvids to NPM

* academicpages#1975 update magnific-popup to NPM

* academicpages#1975 update smooth scroll to NPM

* Closes academicpages#1975 RM stickyfill in favor of native browser support

* Closes academicpages#2287, academicpages#534 with updates to documentation, better emoji generation

* Add a dockerfile

* Update README.md

* bug: comments appear at bottom of page

* Closes academicpages#146 with information the details HTML tag

* Minor formatting

* Closes academicpages#828 with update to put the pages last update in the footer.

* academicpages#828 different format string

* academicpages#828 adjustments to account for GitHub Pages limitations

* Fix toc crop (academicpages#221)

Fix by @qhuang-math. I have also removed underlining of toc links, which was being overridden by post body css.

* Reduce excessive footer padding

* Fix misalignment of navigation bar with post body

There was a regression in the template updates where the navigation bar no longer aligns with the post left margin at normal viewport.

* Add notebook to fetch publication information from orcid

* Update author-profile.html

improve alignment of "employer" sidebar

* Closes academicpages#2469 with update to only use username

* academicpages#1093 MV notebook to generator directory

* Update Dockerfile

* Update archive-single.html

In the "archive-single" include, the "Download" word is repeated twice in the case when only a slidesURL is given. 
An extra paragraph ending is also mistakenly present.

* Add `scopus` in academic websites

* Adjustments to the about

* Close academicpages#2493 Update for Bing crawler

* Update README with example

* Additional pointers for help

* academicpages#2591 clarify URL in config

* Fix typo in Zhihu URL protocol in

* fix: typo

* Update Gemfile

add   gem 'jekyll-redirect-from'

* Update _config.yml

added   - jekyll-redirect-from to plugins and whitelist

* improved link color contrast

changed the links' blue color to a darker shade to meet color contrast (web accessibility) standards

* improved link color contrast (updated color)

updated the link text color from #236070 to #2F7F93 for improved readability and contrast as recommended by the developers

* Add backup of Gemfile and remove two more templates

---------

Co-authored-by: Steve <sbitner@uwf.edu>
Co-authored-by: Rob Williams <jayrobwilliams@gmail.com>
Co-authored-by: sigma67 <benedikt.putz@wiwi.uni-regensburg.de>
Co-authored-by: naveenarun <notatroll.troll@gmail.com>
Co-authored-by: Mohit_Gupta <52665879+Mohit-15@users.noreply.github.com>
Co-authored-by: Bhavish Pahwa <53102161+bp-high@users.noreply.github.com>
Co-authored-by: amyzlc <6166519+amyzlc@users.noreply.github.com>
Co-authored-by: Sonny Arora <sonnyarora@Sonnys-MacBook-Air.local>
Co-authored-by: Bhav Beri <43399374+bhavberi@users.noreply.github.com>
Co-authored-by: rjzupkoii <rjzii@yahoo.com>
Co-authored-by: johnhandleyd <translatjohn@gmail.com>
Co-authored-by: SukkaW <isukkaw@gmail.com>
Co-authored-by: Maximiliano <maximilianogalindo7@gmail.com>
Co-authored-by: Dan Grahn <dgrahn@users.noreply.github.com>
Co-authored-by: Dan Grahn <dan.grahn@altamiracorp.com>
Co-authored-by: thiagorr162 <thiagorr162@gmail.com>
Co-authored-by: Saravanan D. <saravananinca@gmail.com>
Co-authored-by: Manuel Haussmann <manuel.haussmann@mailbox.org>
Co-authored-by: Yuhang YAN (Henry) <96647290+YanY-Henry@users.noreply.github.com>
Co-authored-by: Zarela <zarelavp@yahoo.com>
Co-authored-by: Yanchen Huang <90331527+02hyc@users.noreply.github.com>
Co-authored-by: edbrito-swdev <90706749+edbrito-swdev@users.noreply.github.com>
Co-authored-by: Alberto Barradas <abcsds@gmail.com>
Co-authored-by: Samir Rashid <Samir-Rashid@godsped.com>
Co-authored-by: Carlos Martinez <neocarlitos@gmail.com>
Co-authored-by: Xiaofei (Carl) Zang <xbz5174@psu.edu>
Co-authored-by: Zoe <60870971+zoelesv@users.noreply.github.com>
Co-authored-by: OPasche <32179312+opasche@users.noreply.github.com>
Co-authored-by: Domenico Tortorella <dom.tortorella@gmail.com>
Co-authored-by: TankTechnology <2541826291@qq.com>
Co-authored-by: Gabriel Natenshon <thechromecamera@gmail.com>
Co-authored-by: tomrannosaurus <tomrannosaurus@me.com>
Co-authored-by: Paul Chiou <oikos99@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A bug.
Projects
None yet
Development

No branches or pull requests

6 participants