Merge branch 'FE/Fix' into 'frontend'

[Front-End] fix: 필요 부분에 자동 줄바꿈 추가 및 불필요 요소 제거

See merge request s11-webmobile1-sub2/S11P12A701!192
This commit is contained in:
조민우 2024-08-13 16:08:56 +09:00
commit 974c483581
7 changed files with 7 additions and 5 deletions

View File

@ -44,7 +44,7 @@ export default function EditArticle({ topic, title, prevTitle, prevContent, onSu
<label className={styles.label}>제목</label>
<input
type="text"
maxLength={200}
maxLength={50}
className={styles.titleInput}
placeholder="제목을 입력하세요"
value={articleTitle}

View File

@ -44,7 +44,7 @@ export default function EditFreeboard({ topic, title, prevContent, prevTitle, on
<label className={styles.label}>제목</label>
<input
type="text"
maxLength={200}
maxLength={50}
className={styles.titleInput}
placeholder={'제목을 입력하세요'}
value={articleTitle}

View File

@ -44,7 +44,7 @@ export default function EditQna({ topic, title, prevContent, prevTitle, onSubmit
<label className={styles.label}>제목</label>
<input
type="text"
maxLength={200}
maxLength={50}
className={styles.titleInput}
placeholder={'제목을 입력하세요'}
value={articleTitle}

View File

@ -2,10 +2,9 @@ import { Link, useParams } from 'react-router-dom';
import styles from './LectureHeader.module.css';
import PlayIcon from '/src/assets/icons/play.svg?react';
import CompassIcon from '/src/assets/icons/compass.svg?react';
import UserIcon from '/src/assets/icons/user.svg?react';
import useBoundStore from '../../store';
export default function LectureHeader({ img, title, tutorImg, tutor, isLive = false }) {
export default function LectureHeader({ img, title, tutor, isLive = false }) {
const { lectureId } = useParams();
const userType = useBoundStore((state) => state.userType);
const isTeacher = userType === 'teacher';

View File

@ -44,6 +44,7 @@
line-height: 1.2;
font-weight: 700;
margin: 0;
word-break: break-all;
}
.desc {

View File

@ -24,6 +24,7 @@
}
.actionGroup {
flex-shrink: 0;
display: flex;
align-items: end;
gap: 20px;

View File

@ -32,6 +32,7 @@
line-height: 1.2;
font-weight: 700;
margin: 0;
word-break: break-all;
}
& > p {