Skip to content

Commit

Permalink
fix(frontend): 部署时规格展示的样式问题 #9533
Browse files Browse the repository at this point in the history
# Reviewed, transaction id: 32241
  • Loading branch information
JustaCattt authored and hLinx committed Mar 4, 2025
1 parent 41906cf commit 11fddc7
Showing 1 changed file with 15 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<BkSelect
class="spec-selector"
:clearable="clearable"
filterable
:loading="loading"
:model-value="modelValue"
@change="handleChange">
Expand Down Expand Up @@ -234,7 +235,21 @@
},
});
</script>
<style lang="less">
.bk-select-option {
> span {
display: block;
width: 100%;
}
&.is-selected {
.spec-display-count {
color: white;
background-color: #a3c5fd;
}
}
}
</style>
<style lang="less" scoped>
.spec-selector-wrapper {
position: relative;
Expand Down Expand Up @@ -269,15 +284,6 @@
}
}
.bk-select-option {
&.is-selected {
.spec-display-count {
color: white;
background-color: #a3c5fd;
}
}
}
.info-wrapper {
width: 530px;
padding: 9px 2px;
Expand Down

0 comments on commit 11fddc7

Please sign in to comment.