Skip to content

Commit

Permalink
Fix corner rounding of Calendar in Wasm demo page (#4303)
Browse files Browse the repository at this point in the history
Fixes #4017. It should just be a span as Bootstrap 5 uses
`:not(:last-child)` to check itself (Bootstrap 4 used the old method
which was broken with 5). Also fixed surrounding formatting.
  • Loading branch information
CanadaHonk authored Nov 15, 2023
1 parent b138047 commit 3e431a5
Showing 1 changed file with 19 additions and 22 deletions.
41 changes: 19 additions & 22 deletions ffi/capi/js/examples/wasm-demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -158,29 +158,26 @@
</div>
</div>
<div class="input-group" role="group" aria-label="DateTime Formatting Locale">
<div class="input-group-prepend">
<span class="input-group-text">Calendar</span>
</div>
<select name="dtf-calendar" class="form-select">
<option value="from-locale" selected>Default for locale</option>
<option value="buddhist">Buddhist</option>
<option value="chinese">Chinese</option>
<option value="coptic">Coptic</option>
<option value="dangi">Dangi</option>
<option value="ethiopic">Ethiopian</option>
<option value="gregory">Gregorian</option>
<option value="indian">Indian national</option>
<option value="islamicc">Islamic Civil</option>
<option value="islamic">Islamic Observational</option>
<option value="tbla">Islamic Tabular</option>
<option value="umalqura">Islamic Umm-al-Qura</option>
<option value="japanese">Japanese</option>
<option value="japanext">Japanese (historical eras)</option>
<option value="persian">Persian</option>
<option value="roc">Republic of China</option>
</select>
<span class="input-group-text">Calendar</span>
<select name="dtf-calendar" class="form-select">
<option value="from-locale" selected>Default for locale</option>
<option value="buddhist">Buddhist</option>
<option value="chinese">Chinese</option>
<option value="coptic">Coptic</option>
<option value="dangi">Dangi</option>
<option value="ethiopic">Ethiopian</option>
<option value="gregory">Gregorian</option>
<option value="indian">Indian national</option>
<option value="islamicc">Islamic Civil</option>
<option value="islamic">Islamic Observational</option>
<option value="tbla">Islamic Tabular</option>
<option value="umalqura">Islamic Umm-al-Qura</option>
<option value="japanese">Japanese</option>
<option value="japanext">Japanese (historical eras)</option>
<option value="persian">Persian</option>
<option value="roc">Republic of China</option>
</select>
</div>

</div>

Date length
Expand Down

0 comments on commit 3e431a5

Please sign in to comment.