mirror of
https://github.com/element-plus/element-plus.git
synced 2025-12-19 09:09:40 +08:00
* docs: improve examples layout for narrow screens * docs: style related * style: [statistic] use utilities * style: [input] remove deep * style: [transitions] change style * refactor: [date-picker-panel] narrow refactor
41 lines
1.1 KiB
Vue
41 lines
1.1 KiB
Vue
<template>
|
|
<div class="button-example">
|
|
<div class="button-row">
|
|
<el-button disabled>Default</el-button>
|
|
<el-button type="primary" disabled>Primary</el-button>
|
|
<el-button type="success" disabled>Success</el-button>
|
|
<el-button type="info" disabled>Info</el-button>
|
|
<el-button type="warning" disabled>Warning</el-button>
|
|
<el-button type="danger" disabled>Danger</el-button>
|
|
</div>
|
|
|
|
<div class="button-row">
|
|
<el-button plain disabled>Plain</el-button>
|
|
<el-button type="primary" plain disabled>Primary</el-button>
|
|
<el-button type="success" plain disabled>Success</el-button>
|
|
<el-button type="info" plain disabled>Info</el-button>
|
|
<el-button type="warning" plain disabled>Warning</el-button>
|
|
<el-button type="danger" plain disabled>Danger</el-button>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
|
|
<style scoped>
|
|
.button-example {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.button-row {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 1rem;
|
|
align-items: center;
|
|
}
|
|
|
|
.button-row > * {
|
|
margin: 0;
|
|
}
|
|
</style>
|