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 mobile view bug in [competitorIdsLine].jsx #163

Merged
merged 1 commit into from
Apr 19, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions pages/professions/[professionId].jsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,13 +73,13 @@ const SchoolItem = (props) => {
return (
<div className="col mb-4">
<div className="card bg-light border-0 h-100">
<div className="card-body d-flex align-items-center">
<h2 className="mb-0">
<div className="card-body d-flex align-items-center row">
<h2 className="mb-0 col col-sm-12 col-md-8 col-lg-9 col-xl-9 text-md-start text-sm-center">
<Link href={routes.schoolPath(school.id)}>
<a className="link-dark text-decoration-none">{school.name[i18n.language]}</a>
</Link>
</h2>
<div className="text-end ms-auto">
<div className="text-end ms-auto col col-sm-12 col-md-4 col-lg-3 text-sm-center text-md-end text-center mt-sm-2 mt-md-0 mt-2">
<ComparingButton school={school} selected={selected} state={state} setState={setState} />
</div>
</div>
Expand Down