Commit 942488b8 authored by Filipa Lacerda's avatar Filipa Lacerda

Merge branch 'ide-sidebar-min-width' into 'master'

Changed IDE sidebar min width

Closes #44836

See merge request gitlab-org/gitlab-ce!18123
parents 1bca36b6 fc15ebaa
<script>
import { mapActions, mapState } from 'vuex';
import PanelResizer from '~/vue_shared/components/panel_resizer.vue';
import { mapActions, mapState } from 'vuex';
import PanelResizer from '~/vue_shared/components/panel_resizer.vue';
export default {
export default {
components: {
PanelResizer,
},
......@@ -18,7 +18,7 @@
minSize: {
type: Number,
required: false,
default: 200,
default: 340,
},
side: {
type: String,
......@@ -47,10 +47,7 @@
},
},
methods: {
...mapActions([
'setPanelCollapsedStatus',
'setResizingStatus',
]),
...mapActions(['setPanelCollapsedStatus', 'setResizingStatus']),
toggleFullbarCollapsed() {
if (this.collapsed && this.collapsible) {
this.setPanelCollapsedStatus({
......@@ -60,8 +57,8 @@
}
},
},
maxSize: (window.innerWidth / 2),
};
maxSize: window.innerWidth / 2,
};
</script>
<template>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment