♿ Improving accessibility, fixes #279
This commit is contained in:
@@ -131,7 +131,7 @@ _HTML responses have "Preview HTML" feature_
|
|||||||
|
|
||||||
_History entries can be sorted by any fields_
|
_History entries can be sorted by any fields_
|
||||||
|
|
||||||
_Histories can deleted one-by-one or all together_
|
_Histories can be deleted one-by-one or all together_
|
||||||
|
|
||||||
📁 **Collections**: Keep your API requests organized with collections and folders. Reuse them with a single click.
|
📁 **Collections**: Keep your API requests organized with collections and folders. Reuse them with a single click.
|
||||||
|
|
||||||
|
|||||||
@@ -497,8 +497,9 @@ pre {
|
|||||||
resize: vertical;
|
resize: vertical;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
|
|
||||||
&:not([readonly]):hover {
|
&:not([readonly]):active,
|
||||||
background-color: var(--bg-dark-color);
|
&:not([readonly]):focus {
|
||||||
|
box-shadow: inset 0 0 0 2px var(--fg-light-color);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -51,7 +51,11 @@ TODO:
|
|||||||
<i class="material-icons">import_export</i>
|
<i class="material-icons">import_export</i>
|
||||||
<span>Import / Export</span>
|
<span>Import / Export</span>
|
||||||
</button>
|
</button>
|
||||||
<a href="https://github.com/liyasthomas/postwoman/wiki/Collections" target="_blank">
|
<a
|
||||||
|
href="https://github.com/liyasthomas/postwoman/wiki/Collections"
|
||||||
|
target="_blank"
|
||||||
|
rel="noopener"
|
||||||
|
>
|
||||||
<button class="icon" v-tooltip="'Wiki'">
|
<button class="icon" v-tooltip="'Wiki'">
|
||||||
<i class="material-icons">help</i>
|
<i class="material-icons">help</i>
|
||||||
</button>
|
</button>
|
||||||
|
|||||||
@@ -300,9 +300,9 @@
|
|||||||
@click="copyRequestCode"
|
@click="copyRequestCode"
|
||||||
id="copyRequestCode"
|
id="copyRequestCode"
|
||||||
ref="copyRequestCode"
|
ref="copyRequestCode"
|
||||||
|
v-tooltip="'Copy code'"
|
||||||
>
|
>
|
||||||
<i class="material-icons">file_copy</i>
|
<i class="material-icons">file_copy</i>
|
||||||
<span>Copy</span>
|
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -1510,17 +1510,14 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
copyRequestCode() {
|
copyRequestCode() {
|
||||||
this.$refs.copyRequestCode.innerHTML =
|
this.$refs.copyRequestCode.innerHTML = this.doneButton;
|
||||||
this.doneButton + "<span>Copied</span>";
|
|
||||||
this.$toast.success("Copied to clipboard", {
|
this.$toast.success("Copied to clipboard", {
|
||||||
icon: "done"
|
icon: "done"
|
||||||
});
|
});
|
||||||
this.$refs.generatedCode.select();
|
this.$refs.generatedCode.select();
|
||||||
document.execCommand("copy");
|
document.execCommand("copy");
|
||||||
setTimeout(
|
setTimeout(
|
||||||
() =>
|
() => (this.$refs.copyRequestCode.innerHTML = this.copyButton),
|
||||||
(this.$refs.copyRequestCode.innerHTML =
|
|
||||||
this.copyButton + "<span>Copy</span>"),
|
|
||||||
1000
|
1000
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user