diff options
Diffstat (limited to 'web/html/xui/form/protocol')
| -rw-r--r-- | web/html/xui/form/protocol/http.html | 4 | ||||
| -rw-r--r-- | web/html/xui/form/protocol/socks.html | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/web/html/xui/form/protocol/http.html b/web/html/xui/form/protocol/http.html index ed0c73b2..a14418a2 100644 --- a/web/html/xui/form/protocol/http.html +++ b/web/html/xui/form/protocol/http.html @@ -1,6 +1,6 @@ {{define "form/http"}} <a-form :colon="false" :label-col="{ md: {span:8} }" :wrapper-col="{ md: {span:14} }"> - <table style="width: 100%; text-align: center; margin-bottom: 10px;"> + <table style="width: 100%; text-align: center; margin: 1rem 0;"> <tr> <td width="45%">{{ i18n "username" }}</td> <td width="45%">{{ i18n "password" }}</td> @@ -18,4 +18,4 @@ </a-input> </a-input-group> </a-form> -{{end}}
\ No newline at end of file +{{end}} diff --git a/web/html/xui/form/protocol/socks.html b/web/html/xui/form/protocol/socks.html index ccaec0d7..105603e5 100644 --- a/web/html/xui/form/protocol/socks.html +++ b/web/html/xui/form/protocol/socks.html @@ -11,7 +11,7 @@ @change="checked => inbound.settings.auth = checked ? 'password' : 'noauth'"></a-switch> </a-form-item> <template v-if="inbound.settings.auth === 'password'"> - <table style="width: 100%; text-align: center; margin-bottom: 10px;"> + <table style="width: 100%; text-align: center; margin: 1rem 0;"> <tr> <td width="45%">{{ i18n "username" }}</td> <td width="45%">{{ i18n "password" }}</td> |
