diff --git a/lib/components/app.vue b/lib/components/app.vue index 5c8f0312b..855fda807 100644 --- a/lib/components/app.vue +++ b/lib/components/app.vue @@ -176,24 +176,24 @@ h1 { font-family: Menlo, Monaco, Consolas, "Courier New", monospace; } -.no-text-decoration { +.text-no-decoration { &, &:hover, &:focus, &.focus { text-decoration: none; } } -@media print { - a.no-text-decoration:visited { - text-decoration: none; +a:hover, a:focus { + .underline-within-link { + text-decoration: underline; } } -.underline-on-hover-or-focus { - &:hover, &:focus { - text-decoration: underline; +@media print { + a.text-no-decoration:visited { + text-decoration: none; } - @media print { + .underline-within-link { text-decoration: underline; } } diff --git a/lib/components/field-key/row.vue b/lib/components/field-key/row.vue index 25bee9787..b9546308e 100644 --- a/lib/components/field-key/row.vue +++ b/lib/components/field-key/row.vue @@ -15,11 +15,11 @@ except according to the terms contained in the LICENSE file. {{ created }} {{ lastUsed }} - - See code + See code

- @@ -149,6 +149,10 @@ export default { // in IE 10. return `${Math.floor(100 * (loaded / total)).toLocaleString()}%`; } + }, + updated() { + if (this.plannedUploads.length !== 0 && !this.nameMismatch.state) + this.$refs.confirmButton.focus(); } }; diff --git a/lib/components/form/attachment/upload-files.vue b/lib/components/form/attachment/upload-files.vue index 2fbad614c..59bd8832a 100644 --- a/lib/components/form/attachment/upload-files.vue +++ b/lib/components/form/attachment/upload-files.vue @@ -10,11 +10,22 @@ including this file, may be copied, modified, propagated, or distributed except according to the terms contained in the LICENSE file. -->