Vuetifyでprepend-inner-iconで指定したFont Awesomeのアイコンだけ小さくしたい
992 ワード
Vuetifyでv-text-fieldにprepend-inner-iconを設定すると、material designのアイコンだとちょうどいいのにFont Awesomeだとバカでかいアイコンになってしまう現象がある。
標準がコレ
特に両者を併用したい場合などは目立ちすぎて仕方がない。
Font Awesomeのみ小さくしてみよう。
<style>
.v-input__icon--prepend-inner .fas {
font-size:18px;
}
</style>
これでだいたい同じくらいの大きさになる。
Author And Source
この問題について(Vuetifyでprepend-inner-iconで指定したFont Awesomeのアイコンだけ小さくしたい), 我々は、より多くの情報をここで見つけました https://qiita.com/yusukeasari/items/1ea581836293a21f7190著者帰属:元の著者の情報は、元のURLに含まれています。著作権は原作者に属する。
Content is automatically searched and collected through network algorithms . If there is a violation . Please contact us . We will adjust (correct author information ,or delete content ) as soon as possible .