10
0
mirror of https://github.com/LCPQ/QUESTDB_website.git synced 2024-12-25 13:53:48 +01:00

Fix ⚠ at left by using span instead of div

This commit is contained in:
Mickaël Véril 2020-02-04 10:35:12 +01:00
parent 48574634cd
commit f9bf435b80

View File

@ -421,7 +421,7 @@ draft: false
if (kv !== undefined) { if (kv !== undefined) {
const [val, unsafe] = kv[1] const [val, unsafe] = kv[1]
if (unsafe) { if (unsafe) {
td.append($("<div/>", { title: "unsafe value", style: "float: left; font-family: color-emoji;" }).text('⚠')) td.append($("<span/>", { title: "unsafe value", style: "font-family: color-emoji;" }).text('⚠'))
} }
if (unsafe && !$("#cb_unsafe").is(':checked')) { if (unsafe && !$("#cb_unsafe").is(':checked')) {
td.append($("<s/>").append(val.toString())) td.append($("<s/>").append(val.toString()))