Skip to content

Commit

Permalink
add kconfig name to info message (#1241)
Browse files Browse the repository at this point in the history
* add kconfig name to info message

* fix zh CN save l10n

* prevent wheel event on int config

* update kconfig name style

* fix spacing kconfig name
  • Loading branch information
brianignacio5 authored Jul 22, 2024
1 parent 748bdbf commit 9588ad6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/views/menuconfig/components/configElement.vue
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ function onChange(e) {
class="input is-small"
placeholder="0"
@change="onChange"
@wheel.prevent
/>
</div>
</div>
Expand Down Expand Up @@ -169,6 +170,9 @@ function onChange(e) {
</div>
</div>

<p v-show="isHelpVisible" class="help-kconfig-title">
KCONFIG Name: <label style="font-weight: 900;">{{ config.name }}</label>
</p>
<div v-show="isHelpVisible" class="content" v-html="config.help" />

<div v-if="config.type !== 'choice'">
Expand Down Expand Up @@ -257,4 +261,8 @@ input[type="number"]::-webkit-inner-spin-button {
.menu-title {
display: inline-block;
}
.help-kconfig-title {
padding: 0 18px;
margin-left: 10px;
}
</style>

0 comments on commit 9588ad6

Please sign in to comment.