10
0
mirror of https://github.com/LCPQ/QUESTDB_website.git synced 2024-12-25 05:43:46 +01:00

Fix warning color emoji on macOS

This commit is contained in:
Mickaël Véril 2020-01-09 14:00:43 +01:00
parent 5a61b3fc92
commit 2d91d4d32d
2 changed files with 9 additions and 1 deletions

View File

@ -6,6 +6,7 @@ draft: false
<link rel="stylesheet" type="text/css" href="/css/modal.css" />
<link rel="stylesheet" type="text/css" href="/css/form.css" />
<link rel="stylesheet" type="text/css" href="/css/table.css" />
<link rel="stylesheet" type="text/css" href="/css/color-emoji-font.css" />
<script src="/js/data.js" type="text/javascript"></script>
<script src="/js/loadAllData.js" type="text/javascript"></script>
<script src="/js/getFullDataPath.js" type="text/javascript"></script>
@ -363,7 +364,7 @@ draft: false
if (kv !== undefined) {
const [val, unsafe] = kv[1]
if (unsafe) {
td.append($("<div/>", { title: "unsafe value", style: "float: left" }).text('⚠'))
td.append($("<div/>", { title: "unsafe value", style: "float: left; font-family: color-emoji;" }).text('⚠'))
}
if (unsafe && !$("#cb_unsafe").is(':checked')) {
td.append($("<s/>").append(val))

View File

@ -0,0 +1,7 @@
@font-face {
font-family: "color-emoji";
src: local("Apple Color Emoji"),
local("Segoe UI Emoji"),
local("Segoe UI Symbol"),
local("Noto Color Emoji");
}