質問編集履歴

1

cssを追加

2017/12/13 02:52

投稿

hagana
hagana

スコア8

test CHANGED
File without changes
test CHANGED
@@ -1,6 +1,6 @@
1
1
  ###発生している問題
2
2
 
3
- タイトル通りなのですが、アイコンをタップすると下に少しズレます。
3
+ タイトル通りなのですが、ツールバーにあるアイコンをタップすると下に少しズレます。
4
4
 
5
5
  どうすればずれなくなりますか?
6
6
 
@@ -10,7 +10,9 @@
10
10
 
11
11
  ###CSS
12
12
 
13
+ ons-toolbar-buttonのcssです。
14
+
13
- ```
15
+ ```css
14
16
 
15
17
  .toolbar-button,
16
18
 
@@ -125,3 +127,23 @@
125
127
  }
126
128
 
127
129
  ```
130
+
131
+ ons-iconのcssです。
132
+
133
+ ```css
134
+
135
+ .ons-icon {
136
+
137
+ display: inline-block;
138
+
139
+ font-style: normal;
140
+
141
+ font-weight: normal;
142
+
143
+ -webkit-font-smoothing: antialiased;
144
+
145
+ -moz-osx-font-smoothing: grayscale;
146
+
147
+ }
148
+
149
+ ```