diff --git a/.github/workflows/autoprefixer.yml b/.github/workflows/autoprefixer.yml index 28a6200..bc7b85d 100644 --- a/.github/workflows/autoprefixer.yml +++ b/.github/workflows/autoprefixer.yml @@ -8,7 +8,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout to latest commit - uses: actions/checkout@v3.5.2 + uses: actions/checkout@v3.5.3 - name: Setup Node uses: actions/setup-node@v3 diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f301b0e..46db62f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest steps: # checkout to the commit that has been pushed - - uses: actions/checkout@v3.5.2 + - uses: actions/checkout@v3.5.3 with: submodules: true # Fetch Hugo themes (true OR recursive) fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index b186685..43f2749 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -39,7 +39,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3.5.2 + uses: actions/checkout@v3.5.3 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL diff --git a/.github/workflows/draft-release.yml b/.github/workflows/draft-release.yml index e29ae90..a0df4f9 100644 --- a/.github/workflows/draft-release.yml +++ b/.github/workflows/draft-release.yml @@ -10,6 +10,6 @@ jobs: runs-on: ubuntu-latest steps: # Create/Update release draft - - uses: release-drafter/release-drafter@v5.23.0 + - uses: release-drafter/release-drafter@v5.24.0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/md-link-checker.yml b/.github/workflows/md-link-checker.yml index f80683b..9f10e9f 100644 --- a/.github/workflows/md-link-checker.yml +++ b/.github/workflows/md-link-checker.yml @@ -8,6 +8,6 @@ jobs: runs-on: ubuntu-latest steps: # checkout to latest commit - - uses: actions/checkout@v3.5.2 + - uses: actions/checkout@v3.5.3 # run markdown linter - uses: gaurav-nelson/github-action-markdown-link-check@1.0.15 diff --git a/assets/scripts/sections/education.js b/assets/scripts/sections/education.js index ea86c7e..91811cb 100644 --- a/assets/scripts/sections/education.js +++ b/assets/scripts/sections/education.js @@ -22,12 +22,9 @@ function toggleCourseVisibility (elem) { } window.addEventListener('DOMContentLoaded', () => { - const els = [ - document.getElementById('show-more-btn'), - document.getElementById('show-less-btn') - ] + const els = Array.from(document.getElementsByClassName('btn')); - els.filter((el) => el != null).forEach((el) => + els.filter((el) => el != null && (el.id == 'show-more-btn' || el.id == 'show-less-btn')).forEach((el) => el.addEventListener('click', ({ target }) => toggleCourseVisibility(target))) }) diff --git a/assets/styles/sections/education.scss b/assets/styles/sections/education.scss index 93596f0..2c84132 100644 --- a/assets/styles/sections/education.scss +++ b/assets/styles/sections/education.scss @@ -122,6 +122,10 @@ .taken-courses ul { margin-bottom: 0; } + + .hidden { + display: none; + } /*============ Education Alter Template =============*/ .education-alt .degree-info { diff --git a/assets/styles/sections/skills.scss b/assets/styles/sections/skills.scss index 98e59c9..a2176dc 100644 --- a/assets/styles/sections/skills.scss +++ b/assets/styles/sections/skills.scss @@ -20,6 +20,7 @@ .card .card-img-xs { margin-right: 0.5rem; + margin-bottom: 0.75rem; } .card { @@ -83,4 +84,4 @@ /* iPhone 5 or before */ @media only screen and (max-width: 320px) { } -} \ No newline at end of file +} diff --git a/layouts/partials/navigators/sidebar.html b/layouts/partials/navigators/sidebar.html index 17d2e63..1319e66 100644 --- a/layouts/partials/navigators/sidebar.html +++ b/layouts/partials/navigators/sidebar.html @@ -9,7 +9,7 @@ {{ if .HasChildren }}