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

Fix horizontal scroll bug #35

Merged
merged 2 commits into from
Aug 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions site/_data/repos.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ const manualOverrides = {
"A developer-friendly, standards-based API that enables Medicare beneficiaries to connect their claims data to applications, services and research programs they trust.",
category: "apis",
},
"CMSgov/easi-app": {
"CMS-Enterprise/easi-app": {
homepageUrl: "https://easi.cms.gov",
description:
"EASi is a web application supporting the IT governance process at CMS.",
Expand Down Expand Up @@ -265,7 +265,9 @@ module.exports = async () => {
Object.keys(manualOverrides).forEach((path) => {
const [org, repo] = path.split("/")
const repoData = repos.find((x) => x.owner.login == org && x.name == repo)
Object.assign(repoData, manualOverrides[path])
if (repoData) {
Object.assign(repoData, manualOverrides[path])
}
})

repos.forEach((repo) => {
Expand Down
2 changes: 1 addition & 1 deletion site/projects.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ layout: base
<ul class="usa-card-group">
{% for repo in repos.repos %}
<li class="usa-card project-card tablet:grid-col-6">
<div class="usa-card__container">
<div class="usa-card__container" style="overflow-x: scroll;">
Firebird1029 marked this conversation as resolved.
Show resolved Hide resolved
<div class="usa-card__header">
<h2 class="usa-card__heading">
<a href="{{repo.owner.login}}/{{repo.name}}/" class="text-no-underline">{{ repo.name }}</a>
Expand Down