image fix, grammar fix

This commit is contained in:
Eike Ahmels authored and Stefan Dej committed 2021-04-02 23:26:46 +02:00
1 parent 9289dea1b0
commit 8eee177c6c
2 files changed
+19 -8

No files matched your search

+17 -6
View File
@@ -11,8 +11,23 @@
}
],
"repository": {
"single_line_comment": {
"patterns": [
{
"name": "comment.line.number-sign",
"match": "#(.*)$"
},
{
"name": "comment.line.gcode",
"match": ";(.*)$"
}
]
},
"keywords": {
"patterns": [
{
"include": "#single_line_comment"
},
{
"name": "constant.gcode",
"match": "[nN][ \\t]*[0-9\\.]+"
@@ -27,11 +42,7 @@
},
{
"name": "string.xcode.gcode",
"match": "(?i)[XAUI][ \\t]*[\\-\\+]?[0-9\\.]+"
},
{
"name": "comment.type.ycode.gcode",
"match": "(?i)[YBVJ][ \\t]*[\\-\\+]?[0-9\\.]+"
"match": "(?i)[XAUIYBVJ][ \\t]*[\\-\\+]?[0-9\\.]+"
},
{
"name": "support.function.mcode.gcode",
@@ -43,7 +54,7 @@
},
{
"name": "variable.parameter.pqecode.gcode",
"match": "[pPqQeE][ \\t]*[0-9][0-9\\.]*"
"match": "[pPqQeE][ \\t]*\\-?\\.?[0-9][0-9\\.]*"
},
{
"name": "string.control.mcode.gcode",
@@ -169,8 +169,8 @@
<v-icon>mdi-close</v-icon>
</v-btn>
</v-toolbar>
<div class="d-flex justify-center" style="max-height: calc(100% - 64px); overflow-y: auto;">
<img :src="image.url" style="max-width: 100%; height: auto;" alt="image" />
<div class="d-flex justify-center" style="max-height: calc(100vh - 64px); overflow: auto;">
<img :src="image.url" style="max-height: 100%; width: auto;" alt="image" />
</div>
</v-card>
</v-dialog>