Skip to content

Commit

Permalink
fix(msg): fix header select popover width scope
Browse files Browse the repository at this point in the history
  • Loading branch information
ysfscream committed May 19, 2021
1 parent 787d9f2 commit df7642a
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions src/components/MsgPublish.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,14 @@
@blur="handleInputBlur"
>
</el-input>
<el-select class="header-select" v-model="headerValue" placeholder="" size="mini" @change="handleHeaderChange">
<el-select
class="header-select"
popper-class="header-select--popper"
v-model="headerValue"
placeholder=""
size="mini"
@change="handleHeaderChange"
>
<el-option
class="header-option"
v-for="item in headersHistory"
Expand Down Expand Up @@ -378,7 +385,7 @@ export default class MsgPublish extends Vue {
top: 0;
}
}
.el-select-dropdown.el-popper {
width: 300px;
.el-select-dropdown.el-popper.header-select--popper {
max-width: 300px;
}
</style>

0 comments on commit df7642a

Please sign in to comment.