mirror of
https://github.com/LCPQ/QUESTDB_website.git
synced 2024-11-04 13:13:55 +01:00
Fix warning color emoji on macOS
This commit is contained in:
parent
5a61b3fc92
commit
2d91d4d32d
@ -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))
|
||||
|
7
static/css/color-emoji-font.css
Normal file
7
static/css/color-emoji-font.css
Normal 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");
|
||||
}
|
Loading…
Reference in New Issue
Block a user