Skip to content

Commit

Permalink
design: placeholder 위치 조정
Browse files Browse the repository at this point in the history
  • Loading branch information
se0jinYoon committed Jan 11, 2024
1 parent f9ae86b commit b0796da
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions src/pages/postPage/components/editor.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@
padding: 0;
}

/* 텍스트 드래그 했을 때 색상 변경 */
/* 브라우저 텍스트 드래그 했을 때 색상 변경 */
*::selection {
background-color: #d9cef6;
}

/* 툴바 자체 커스텀 */
.ql-toolbar {
position: relative;
top: -7rem;
/* position: relative; */
/* top: -7rem; */
/* right: 4rem; */
position: absolute;
display: flex;
Expand All @@ -43,6 +43,11 @@
margin: 0 !important;
}

/* placeholder 위치 조정 */
.ql-editor.ql-blank::before {
left: 2.8rem;
}

/* 글자 크기 커스텀 */
.ql-size {
width: 10.1rem;
Expand Down

0 comments on commit b0796da

Please sign in to comment.