better view

This commit is contained in:
MHSanaei 2023-12-09 01:06:22 +03:30
parent e69c224ad3
commit 07019d6594
2 changed files with 8 additions and 4 deletions

View file

@ -751,7 +751,7 @@ style attribute {
.dark .ant-tag-purple { .dark .ant-tag-purple {
background-color: #2c1e32; background-color: #2c1e32;
border-color: #49394e; border-color: #49394e;
color: #f2eaf1; color: #cfb9cc;
} }
.dark .ant-modal-content, .dark .ant-modal-content,

View file

@ -106,9 +106,13 @@
<a-input v-model.trim="inbound.stream.xtls.server" style="width: 250px"></a-input> <a-input v-model.trim="inbound.stream.xtls.server" style="width: 250px"></a-input>
</a-form-item> </a-form-item>
<a-form-item label="Alpn"> <a-form-item label="Alpn">
<a-checkbox-group v-model="inbound.stream.xtls.alpn" style="width:200px"> <a-select
<a-checkbox v-for="key in ALPN_OPTION" :value="key">[[ key ]]</a-checkbox> mode="multiple"
</a-checkbox-group> style="width: 250px"
:dropdown-class-name="themeSwitcher.currentTheme"
v-model="inbound.stream.xtls.alpn">
<a-select-option v-for="alpn in ALPN_OPTION" :value="alpn">[[ alpn ]]</a-select-option>
</a-select>
</a-form-item> </a-form-item>
<a-form-item label="Allow insecure"> <a-form-item label="Allow insecure">
<a-switch v-model="inbound.stream.xtls.settings.allowInsecure"></a-switch> <a-switch v-model="inbound.stream.xtls.settings.allowInsecure"></a-switch>