Commit ·
be38538
1
Parent(s): 1527e69
ui: Replace أ with بيان in font size dropdown preview
Browse files- src/css/components.css +1 -1
- src/index.html +6 -6
src/css/components.css
CHANGED
|
@@ -473,7 +473,7 @@
|
|
| 473 |
|
| 474 |
.fmt-size-preview {
|
| 475 |
display: inline-block;
|
| 476 |
-
width:
|
| 477 |
text-align: center;
|
| 478 |
font-weight: 700;
|
| 479 |
color: var(--color-text-secondary);
|
|
|
|
| 473 |
|
| 474 |
.fmt-size-preview {
|
| 475 |
display: inline-block;
|
| 476 |
+
width: 40px;
|
| 477 |
text-align: center;
|
| 478 |
font-weight: 700;
|
| 479 |
color: var(--color-text-secondary);
|
src/index.html
CHANGED
|
@@ -523,12 +523,12 @@
|
|
| 523 |
<svg class="fmt-dropdown__chevron" width="10" height="10" fill="currentColor" viewBox="0 0 20 20"><path fill-rule="evenodd" d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z"/></svg>
|
| 524 |
</button>
|
| 525 |
<div class="fmt-dropdown__menu fmt-dropdown__menu--size" id="fmt-size-menu" role="menu">
|
| 526 |
-
<button class="fmt-dropdown__item" data-size="12px" role="menuitem"><span class="fmt-size-preview" style="font-size:
|
| 527 |
-
<button class="fmt-dropdown__item fmt-dropdown__item--active" data-size="16px" role="menuitem"><span class="fmt-size-preview" style="font-size:
|
| 528 |
-
<button class="fmt-dropdown__item" data-size="20px" role="menuitem"><span class="fmt-size-preview" style="font-size:
|
| 529 |
-
<button class="fmt-dropdown__item" data-size="24px" role="menuitem"><span class="fmt-size-preview" style="font-size:
|
| 530 |
-
<button class="fmt-dropdown__item" data-size="32px" role="menuitem"><span class="fmt-size-preview" style="font-size:
|
| 531 |
-
<button class="fmt-dropdown__item" data-size="48px" role="menuitem"><span class="fmt-size-preview" style="font-size:
|
| 532 |
</div>
|
| 533 |
</div>
|
| 534 |
</div>
|
|
|
|
| 523 |
<svg class="fmt-dropdown__chevron" width="10" height="10" fill="currentColor" viewBox="0 0 20 20"><path fill-rule="evenodd" d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z"/></svg>
|
| 524 |
</button>
|
| 525 |
<div class="fmt-dropdown__menu fmt-dropdown__menu--size" id="fmt-size-menu" role="menu">
|
| 526 |
+
<button class="fmt-dropdown__item" data-size="12px" role="menuitem"><span class="fmt-size-preview" style="font-size:10px">بيان</span> 12</button>
|
| 527 |
+
<button class="fmt-dropdown__item fmt-dropdown__item--active" data-size="16px" role="menuitem"><span class="fmt-size-preview" style="font-size:12px">بيان</span> 16</button>
|
| 528 |
+
<button class="fmt-dropdown__item" data-size="20px" role="menuitem"><span class="fmt-size-preview" style="font-size:14px">بيان</span> 20</button>
|
| 529 |
+
<button class="fmt-dropdown__item" data-size="24px" role="menuitem"><span class="fmt-size-preview" style="font-size:16px">بيان</span> 24</button>
|
| 530 |
+
<button class="fmt-dropdown__item" data-size="32px" role="menuitem"><span class="fmt-size-preview" style="font-size:18px">بيان</span> 32</button>
|
| 531 |
+
<button class="fmt-dropdown__item" data-size="48px" role="menuitem"><span class="fmt-size-preview" style="font-size:22px">بيان</span> 48</button>
|
| 532 |
</div>
|
| 533 |
</div>
|
| 534 |
</div>
|