[Vuejs]-How to make ElementUI transfer aligned center

0👍

use % width only on container which is parent element, mostly I would recommend you to use percentages size for only 100%, to align on the full screnn, below 100% sizes as and currently on width it is risky because your layout will be dropped,I just changed your 30% to 250px, and aligned on center by using flex

.el-transfer-panel {
  width: 250px;
}

.el-card{
  display: flex;
  align-items:  center;
  justify-content: center;
}

For LIVE view visit JSFIDDLE

Leave a comment