diff --git a/resources/js/app/components/history/history-info.js b/resources/js/app/components/history/history-info.js
deleted file mode 100644
index a3566133b..000000000
--- a/resources/js/app/components/history/history-info.js
+++ /dev/null
@@ -1,79 +0,0 @@
-import moment from 'moment';
-import { t } from 'ttag';
-import { PanelEvents } from '../panel-view';
-
-export default {
- template: `
-
-
-
- ${t`version by`}
- <: authorName :>
- ${t`date`} <: formattedDate :>
-
-
-
-
-
`,
-
- props: {
- meta: Object,
- id: String,
- cansave: Boolean,
- },
-
- data() {
- return {
- changed: this.meta.changed,
- created: this.meta.created,
- user: this.meta.user,
- user_action: this.meta.user_action,
- canSave: true,
- }
- },
-
- computed: {
- formattedDate: function() {
- return moment(this.created).format('D MMM YYYY kk:mm');
- },
- /**
- * Get formatted user name.
- * @param {Object} userObj User data
- * @return {string}
- */
- authorName: function() {
- if (!this.user?.attributes) {
- return;
- }
- const user = this.user.attributes;
-
- return user.title ||
- `${user.name || ''} ${user.surname || ''}`.trim() ||
- user.username ||
- '';
- },
- },
-
- async created() {
- this.canSave = this.cansave;
- },
-
- methods: {
- allowed(key) {
- return (key !== 'model-type' && key !== '_csrfToken');
- },
- restore() {
- PanelEvents.sendBack('history-info:restore', this.id);
- },
- }
-}
diff --git a/resources/js/app/components/history/history-info.vue b/resources/js/app/components/history/history-info.vue
new file mode 100644
index 000000000..86aeece40
--- /dev/null
+++ b/resources/js/app/components/history/history-info.vue
@@ -0,0 +1,120 @@
+
+
+
+
+
+ {{ msgVersionBy }}
+
+ {{ authorName }}
+
+ {{ msgDate }} {{ formattedDate }}
+
+
+
+
+
+
+
diff --git a/templates/Element/Panel/panel.scss b/templates/Element/Panel/panel.scss
index c63684647..854f58090 100644
--- a/templates/Element/Panel/panel.scss
+++ b/templates/Element/Panel/panel.scss
@@ -13,6 +13,8 @@
z-index: 1001;
.main-panel {
+ overflow-x: hidden;
+ overflow-y: auto;
height: 100%;
background-color: $gray-800;
}