This commit is contained in:
Sidharth Vinod
2021-05-03 12:43:40 +05:30
parent 82bf728c0c
commit ac59ac16ec
4 changed files with 107 additions and 99 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
{
"singleQuote": true,
"svelteSortOrder": "options-scripts-styles-markup",
"svelteSortOrder": "scripts-styles-markup",
"svelteBracketNewLine": false
}
+74 -62
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+31 -35
View File
@@ -196,38 +196,34 @@
<br />
<input id="markdown" type="text" value={mdCode} on:click={onCopyMarkdown} />
</div>
<p>
<label>PNG size:</label><br />
<input
type="radio"
value="auto"
id="autosize"
bind:group={imagemodeselected} />
<label for="autosize">auto</label><br />
<input
type="radio"
value="width"
id="width-active"
bind:group={imagemodeselected} />
<label for="width">width</label>
<input
id="width"
type="number"
min="3"
max="10000"
bind:value={userimagewidth}
disabled={imagemodeselected !== 'width'} /><br />
<input
type="radio"
value="height"
id="height-active"
bind:group={imagemodeselected} />
<label for="height">height</label>
<input
id="height"
type="number"
min="3"
max="10000"
bind:value={userimageheight}
disabled={imagemodeselected !== 'height'} /><br />
</p>
PNG size:
<br />
<input type="radio" value="auto" id="autosize" bind:group={imagemodeselected} />
<label for="autosize">auto</label><br />
<input
type="radio"
value="width"
id="width-active"
bind:group={imagemodeselected} />
<label for="width">width</label>
<input
id="width"
type="number"
min="3"
max="10000"
bind:value={userimagewidth}
disabled={imagemodeselected !== 'width'} /><br />
<input
type="radio"
value="height"
id="height-active"
bind:group={imagemodeselected} />
<label for="height">height</label>
<input
id="height"
type="number"
min="3"
max="10000"
bind:value={userimageheight}
disabled={imagemodeselected !== 'height'} /><br />