Skip to content

Commit

Permalink
Fix Ingress Rule Path CSS (#12012)
Browse files Browse the repository at this point in the history
* Fix Ingress Rule Path CSS

* Remove duplicated selector
  • Loading branch information
cnotv authored Oct 4, 2024
1 parent 9f5bbdd commit 0a773ca
Showing 1 changed file with 19 additions and 23 deletions.
42 changes: 19 additions & 23 deletions shell/edit/networking.k8s.io.ingress/RulePath.vue
Original file line number Diff line number Diff line change
Expand Up @@ -181,48 +181,44 @@ export default {
</div>
</template>
<style lang="scss" scoped>
// TODO #11952: Correct deep statement
$row-height: 40px;
.labeled-input :deep(), :deep() .labeled-input {
padding: 0 !important;
height: 100%;
input.no-label {
height: calc($row-height - 2px);
padding: 10px;
}
}
.rule-path :deep() {
.col, INPUT {
height: $row-height;
}
.unlabeled-select {
.rule-path {
:deep(.labeled-input) {
padding: 0 !important;
height: 100%;
}
.path-type {
.unlabeled-select {
min-width: 200px;
input.no-label {
height: calc($row-height - 2px);
padding: 10px;
}
}
&, .input-container {
:deep(.col), INPUT {
height: $row-height;
}
&, :deep(.input-container) {
height: $row-height;
}
.input-container .in-input.unlabeled-select {
:deep(.input-container) :deep(.in-input.unlabeled-select) {
width: initial;
}
button {
line-height: $row-height;
}
.v-select INPUT {
:deep(.v-select) INPUT {
height: 50px;
}
.labeled-input {
:deep(.labeled-input) {
padding-top: 6px;
}
:deep(.unlabeled-select) {
height: 100%;
min-width: 200px;
}
}
</style>

0 comments on commit 0a773ca

Please sign in to comment.