diff --git a/src/components/GuestNamePicker.vue b/src/components/GuestNamePicker.vue
index 7a32bc8aed..1d2d419d03 100644
--- a/src/components/GuestNamePicker.vue
+++ b/src/components/GuestNamePicker.vue
@@ -7,7 +7,9 @@
:out-transition="true"
size="small"
:show.sync="show">
-
+
@@ -81,6 +84,10 @@ export default {
},
async mounted() {
+ this.$nextTick(() => {
+ this.$refs.guestNameInput.focus()
+ })
+
const name = document.getElementById('filename').value
const mimeTypeIcon = async () => {
const url = document.getElementById('mimetypeIcon').value
@@ -120,16 +127,22 @@ export default {
$modal-padding: calc(var(--default-grid-baseline) * 4);
.modal__content {
- padding: $modal-padding;
-
- .modal__form {
- padding: 15px 0;
- }
-}
-
-.modal__buttons {
- display: flex;
- justify-content: center;
- padding: 0 $modal-padding $modal-padding $modal-padding;
+ padding: $modal-padding;
+
+ h3 {
+ margin: 0;
+ display: flex;
+ align-items: center;
+ }
+
+ p, fieldset {
+ margin: 10px 0;
+ }
+
+ .modal__buttons {
+ margin-top: $modal-padding;
+ display: flex;
+ justify-content: end;
+ }
}