diff --git a/resources/assets/stylesheets/scss/article.scss b/resources/assets/stylesheets/scss/article.scss index d11d36932c717239633823de4fb0c4fd82f1ba0a..e674e41745f43735cbbe7b53a87cddf5634fad3d 100644 --- a/resources/assets/stylesheets/scss/article.scss +++ b/resources/assets/stylesheets/scss/article.scss @@ -119,7 +119,7 @@ article.studip { } > footer { - text-align: right; + text-align: left; border-top: 1px solid var(--color--content-box-border); padding: $article-padding; margin: $article-padding (-$article-padding) (-$article-padding) (-$article-padding); diff --git a/resources/assets/stylesheets/scss/buttons.scss b/resources/assets/stylesheets/scss/buttons.scss index f6158bcf778a4e6373895d78405f312c9ebfb715..f1ef48307cb51fd529be580700a01fb950efad30 100644 --- a/resources/assets/stylesheets/scss/buttons.scss +++ b/resources/assets/stylesheets/scss/buttons.scss @@ -115,14 +115,13 @@ $button-icons: ( display: inline-flex; gap: 5px; list-style: none; - margin: 0 0.8em 0 0; - padding: 0; + margin: 0 0.8em; + padding: 5px 0; vertical-align: middle; button, .button { - margin-left: 0; - margin-right: 0; + margin: 0; } } diff --git a/resources/assets/stylesheets/scss/wiki.scss b/resources/assets/stylesheets/scss/wiki.scss index 5f9f441ec58f5fe303f591cd3a3564e586b17bd0..637924984138faffff7aabc243d5d2dc25c8bd31 100644 --- a/resources/assets/stylesheets/scss/wiki.scss +++ b/resources/assets/stylesheets/scss/wiki.scss @@ -200,3 +200,7 @@ article.studip.wiki { padding-left: calc(var(--avatar-small) + 1ex); } } + + p.last-save-date { + text-indent: 1ex; + } \ No newline at end of file diff --git a/resources/vue/components/WikiEditor.vue b/resources/vue/components/WikiEditor.vue index 3b15bb03a7a925f19825eca135c2346bc3254339..3fad25b017b6cb5461e0ee189cb4da967a26f5c5 100644 --- a/resources/vue/components/WikiEditor.vue +++ b/resources/vue/components/WikiEditor.vue @@ -24,14 +24,14 @@ <input type="checkbox" v-model="autosave"> {{ $gettext('Automatisches Speichern aktivieren.') }} </label> - <div> + <p class="last-save-date"> {{ $gettext('Zuletzt gespeichert') }}: <studip-date-time :timestamp="Math.floor(lastSaveDate / 1000)" :relative="true" ></studip-date-time> - </div> + </p> - <div data-dialog-button=""> + <footer data-dialog-button=""> <button class="button" :title="isChanged ? $gettext('Den aktuellen Stand speichern.') : $gettext('Der aktuelle Stand wurde bereits gespeichert.')" @click="toggleSecurityHandler(false)" @@ -48,7 +48,7 @@ > {{ $gettextInterpolate($gettext('Schreibmodus an %{name} übergeben'), { name: user.fullname }, true) }} </button> - </div> + </footer> </form> <div v-if="!isEditing">