반응형
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- f035d
- kotlin
- vuetifyjs
- onsen-ui
- Electron
- MySQL
- 동일 프로세스
- electron-nuxt
- bucket cors
- Vue
- error
- bucket max-key
- 동일 프로그램
- nodejs
- CSS
- c#
- naver storage bucket error
- sequelize
- v-text-field height
- sort
- 프로세스 방지
- Vuetify
- vuejs
- naver storage
- NUXT
- Android
- v-select
- xlsx
- onsenui
- JavaScript
Archives
- Today
- Total
앙큼한 개발기록
[vuetifyjs] v-select 높이, 화살표 변경 본문
v-select
https://vuetifyjs.com/en/components/selects/
vuetify를 쓰면서
selectbox를 변경하는게 가장 어려웠던거 같다...
아래의 코드를 global css 에 적용하고 높이와 색상을 조절하면 편리하다.
.v-select {
flex: none; // 기본 값이 1로 되어 있어서 width를 줘도 먹지 않을 수 있다.
.v-input__control {
height: 33px; // 내가 원하는 높이
width: inherit;
.v-input__slot {
min-height: initial !important;
width: inherit;
margin: 0;
}
.v-select__slot {
height: 33px; // 내가 원하는 높이
.v-input__append-inner {
margin-top: 5px; // 뒤에 화살표
}
}
}
.v-select__selections {
padding: 0 !important;
}
.mdi-menu-down::before {
color: #FBC820; // 화살표 색상
content: "\F0140"; // 원하는 화살표 모양
}
}
화살표 모양이 mdi-menu-down::befored의 contenxt 값으로
"\F035D" 를 default로 사용하고 있는데
해당 content의 unicode를 찾는데 엄청 많이 헤멨다...
검색할때는 "f35d"로 검색
해당 content에 사용된 코드 값은 유니코드나 uft-8, utf-32와는 다른 material-icon code 인것 같다.
유니코드를 직접 적용하면 이상한 값이 나온다.
참고용 mdi-icon 사이트
https://pictogrammers.github.io/@mdi/font/2.0.46/
'개발 > vue & nuxt' 카테고리의 다른 글
[naver storage] bucket cors 오류 (0) | 2023.08.16 |
---|---|
[vuetifyjs] v-text-field 높이값 조절 (0) | 2023.06.22 |
[vue div resize] 내부 화면 크기 조절하기 (onResize library를 겸한) (0) | 2023.04.02 |
[vue/nuxt] xlsx file export (0) | 2023.02.06 |