Skip to content

Commit

Permalink
fix: breakpoints issue with min width
Browse files Browse the repository at this point in the history
  • Loading branch information
Firgrep committed Feb 5, 2025
1 parent 2bd4c4e commit c01f307
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions features/editor/components/EmbedTeacherProfile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ type EmbedTEacherProfileProps = {
};

export const EmbedTeacherProfile = (props: EmbedTEacherProfileProps) => {
const { teacherInput, minWidth = "400px", maxWidth = "800px" } = props;
const { teacherInput, maxWidth = "800px" } = props;

const getTeacherAndTitle = (teacherInput: string) => {
if (!teacherInput.includes(":")) {
Expand Down Expand Up @@ -86,7 +86,7 @@ export const EmbedTeacherProfile = (props: EmbedTEacherProfileProps) => {

return (
<section
style={{ width: "100%", minWidth: minWidth, maxWidth: maxWidth }}
style={{ width: "100%", maxWidth: maxWidth }}
aria-label="Teacher profile"
>
<div
Expand Down

0 comments on commit c01f307

Please sign in to comment.