Commit 1fddb614 by Torkel Ödegaard

fixed promql and loggging syntax so all punctuation chars are treated the same, remove hover move

parent 47523f80
......@@ -18,6 +18,7 @@ const tokenizer = {
greedy: true,
alias: 'attr-value',
},
punctuation: /[{]/,
},
},
// number: /\b-?\d+((\.\d*)?([eE][+-]?\d+)?)?\b/,
......
......@@ -386,9 +386,10 @@ const tokenizer = {
lookbehind: true,
inside: {
'label-key': {
pattern: /[^,\s][^,]*[^,\s]*/,
pattern: /[^(),\s][^,)]*[^),\s]*/,
alias: 'attr-name',
},
punctuation: /[()]/,
},
},
'context-labels': {
......@@ -403,6 +404,7 @@ const tokenizer = {
greedy: true,
alias: 'attr-value',
},
punctuation: /[{]/,
},
},
function: new RegExp(`\\b(?:${FUNCTIONS.map(f => f.label).join('|')})(?=\\s*\\()`, 'i'),
......
......@@ -36,10 +36,6 @@
transition: all 0.1s linear;
}
.explore-panel__header:hover {
transform: translateY(-1px);
}
.explore-panel__header-label {
font-weight: 500;
margin-right: $panel-margin;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment