@cosxai/ui 0.2.7 → 0.2.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
package/src/styles/index.css
CHANGED
|
@@ -172,6 +172,22 @@ html[data-ck-chrome="seamless"] .ck-card__foot {
|
|
|
172
172
|
cursor: not-allowed;
|
|
173
173
|
}
|
|
174
174
|
|
|
175
|
+
/* Icon glyph wrapper — sized larger than the button's 13 px label
|
|
176
|
+
text so unicode symbols (◐ ☀ ☾ ◇) and small SVGs read clearly.
|
|
177
|
+
ActionBarButton wraps the icon prop in this span automatically;
|
|
178
|
+
callers don't need to opt in. The 1 px upward translate
|
|
179
|
+
compensates for geometric glyphs sitting about 1 px below their
|
|
180
|
+
em-box centre — flex centring otherwise leaves them looking
|
|
181
|
+
slightly low next to the heavier label text. */
|
|
182
|
+
.ck-actionbar-icon {
|
|
183
|
+
display: inline-flex;
|
|
184
|
+
align-items: center;
|
|
185
|
+
justify-content: center;
|
|
186
|
+
font-size: 16px;
|
|
187
|
+
line-height: 1;
|
|
188
|
+
transform: translateY(-1px);
|
|
189
|
+
}
|
|
190
|
+
|
|
175
191
|
/* Hide labels below 768 px (the standard md breakpoint).
|
|
176
192
|
Icons + tooltips remain — the bar's still informative on phones. */
|
|
177
193
|
@media (max-width: 767px) {
|