Skip to content

Commit

Permalink
feat: fixed displaing banner and certificates on mobile view
Browse files Browse the repository at this point in the history
  • Loading branch information
vladislavkeblysh committed Nov 25, 2023
1 parent 9948527 commit 7c9d935
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/profile/Banner.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';

const Banner = () => <div className="profile-page-bg-banner bg-primary d-none d-md-block p-relative" />;
const Banner = () => <div className="profile-page-bg-banner bg-primary d-md-block p-relative" />;

export default Banner;
2 changes: 1 addition & 1 deletion src/profile/forms/Certificates.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ class Certificates extends React.Component {
})();

return (
<div key={`${modifiedDate}-${courseId}`} className="col col-sm-6 d-flex align-items-stretch">
<div key={`${modifiedDate}-${courseId}`} className="col-12 col-sm-6 d-flex align-items-stretch">
<div className="card mb-4 certificate flex-grow-1">
<div
className="certificate-type-illustration"
Expand Down

0 comments on commit 7c9d935

Please sign in to comment.