1
0
şunun yansıması https://github.com/go-gitea/gitea.git eşitlendi 2024-08-01 02:16:43 +02:00

Don't let repo clone URL overflow (#19517)

- Apparently `<input>` elements differ from other elements have a size
attribute that act as a `min-width` CSS property, this causes a overflow
on mobile. By setting this size to `1` it doesn't try to force a
min-width and nicely shrink down.
Bu işleme şunda yer alıyor:
Gusted 2022-04-26 23:22:11 +00:00 işlemeyi yapan: GitHub
ebeveyn cdab46220d
işleme 3fbaa79c6e
Veri tabanında bu imza için bilinen anahtar bulunamadı
GPG Anahtar Kimliği: 4AEE18F83AFDEB23

Dosyayı Görüntüle

@ -10,7 +10,7 @@
</button>
{{end}}
<!-- the value will be updated by initRepoCloneLink, the code below is used to avoid UI flicking -->
<input id="repo-clone-url" value="" readonly>
<input id="repo-clone-url" value="" size="1" readonly>
<script>
(() => {
const proto = localStorage.getItem('repo-clone-protocol') || 'https';