mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-01-26 17:18:19 +00:00
add whitespace normal button, use p-4, add negative header padding
This commit is contained in:
parent
a6aadcb126
commit
450c202065
1 changed files with 4 additions and 3 deletions
|
@ -20,14 +20,15 @@
|
||||||
<WoodpeckerLogo preserveAspectRatio="xMinYMin slice" class="h-32 w-32 md:h-48 md:w-48" />
|
<WoodpeckerLogo preserveAspectRatio="xMinYMin slice" class="h-32 w-32 md:h-48 md:w-48" />
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
class="flex min-h-48 flex-col items-center justify-center gap-4 !whitespace-normal px-4 text-center md:w-2/5"
|
class="flex min-h-48 flex-col items-center justify-center gap-4 text-center md:w-2/5"
|
||||||
>
|
>
|
||||||
<h1 class="text-xl text-wp-text-100">{{ $t('welcome') }}</h1>
|
<h1 class="text-xl text-wp-text-100 -mb-4">{{ $t('welcome') }}</h1>
|
||||||
<div class="flex flex-col gap-2">
|
<div class="flex flex-col gap-2 whitespace-normal p-4">
|
||||||
<Button
|
<Button
|
||||||
v-for="forge in forges"
|
v-for="forge in forges"
|
||||||
:key="forge.id"
|
:key="forge.id"
|
||||||
:start-icon="forge.type === 'addon' ? 'repo' : forge.type"
|
:start-icon="forge.type === 'addon' ? 'repo' : forge.type"
|
||||||
|
class="!whitespace-normal"
|
||||||
@click="doLogin(forge.id)"
|
@click="doLogin(forge.id)"
|
||||||
>
|
>
|
||||||
{{ $t('login_with', { forge: getHostFromUrl(forge) }) }}
|
{{ $t('login_with', { forge: getHostFromUrl(forge) }) }}
|
||||||
|
|
Loading…
Reference in a new issue