feat: modal improvements
This commit is contained in:
		@@ -97,7 +97,7 @@
 | 
			
		||||
        <div class="bg-white px-4 pt-5 pb-4 sm:p-6 sm:pb-4 rounded-t-xl">
 | 
			
		||||
          <div class="">
 | 
			
		||||
            <div
 | 
			
		||||
              class="mx-auto flex-shrink-0 flex items-center justify-center h-12 w-12 rounded-full bg-blue-100 sm:mx-0 sm:h-10 sm:w-10"
 | 
			
		||||
              class="flex-shrink-0 flex items-center justify-center size-12 rounded-full bg-blue-100 sm:mx-0 sm:h-10 sm:w-10"
 | 
			
		||||
            >
 | 
			
		||||
              <svg
 | 
			
		||||
                class="h-6 w-6 text-blue-600"
 | 
			
		||||
@@ -112,18 +112,18 @@
 | 
			
		||||
                /></svg
 | 
			
		||||
              >
 | 
			
		||||
            </div>
 | 
			
		||||
            <div class="mt-3 text-center sm:text-left">
 | 
			
		||||
            <div class="mt-3">
 | 
			
		||||
              <h3 class="text-lg leading-6 font-medium text-gray-900">
 | 
			
		||||
                {$_("create-a-new-team")}
 | 
			
		||||
              </h3>
 | 
			
		||||
              <div class="mt-2 mb-6">
 | 
			
		||||
              <div class="mb-6">
 | 
			
		||||
                <p class="text-sm text-gray-500">
 | 
			
		||||
                  {$_(
 | 
			
		||||
                    "please-provide-the-required-information-to-add-a-new-team"
 | 
			
		||||
                  )}
 | 
			
		||||
                </p>
 | 
			
		||||
              </div>
 | 
			
		||||
              <div class="grid grid-cols-6 gap-6 text-left">
 | 
			
		||||
              <div class="grid grid-cols-6 gap-2 lg:gap-6 text-left">
 | 
			
		||||
                <div class="col-span-6">
 | 
			
		||||
                  <label
 | 
			
		||||
                    for="firstname"
 | 
			
		||||
@@ -184,7 +184,7 @@
 | 
			
		||||
            </div>
 | 
			
		||||
          </div>
 | 
			
		||||
        </div>
 | 
			
		||||
        <div class="bg-gray-50 px-4 py-3 sm:px-6 grid gap-2 lg:rounded-b-xl">
 | 
			
		||||
        <div class="bg-gray-50 px-4 lg:py-3 sm:px-6 grid gap-2 lg:rounded-b-xl pt-3 pb-10">
 | 
			
		||||
          <button
 | 
			
		||||
            disabled={!createbtnenabled}
 | 
			
		||||
            class:opacity-50={!createbtnenabled}
 | 
			
		||||
 
 | 
			
		||||
@@ -52,7 +52,7 @@
 | 
			
		||||
				<div class="bg-white px-4 pt-5 pb-4 sm:p-6 sm:pb-4 rounded-t-xl">
 | 
			
		||||
					<div class="">
 | 
			
		||||
						<div
 | 
			
		||||
							class="mx-auto flex-shrink-0 flex items-center justify-center h-12 w-12 rounded-full bg-blue-100 sm:mx-0 sm:h-10 sm:w-10"
 | 
			
		||||
							class="flex-shrink-0 flex items-center justify-center size-12 rounded-full bg-blue-100 sm:mx-0 sm:h-10 sm:w-10"
 | 
			
		||||
						>
 | 
			
		||||
							<svg
 | 
			
		||||
								class="h-6 w-6 text-blue-600"
 | 
			
		||||
@@ -67,13 +67,13 @@
 | 
			
		||||
								/></svg
 | 
			
		||||
							>
 | 
			
		||||
						</div>
 | 
			
		||||
						<div class="mt-3 text-center sm:text-left max-h-[75vh] overflow-y-auto">
 | 
			
		||||
						<div class="mt-3 sm:text-left max-h-[75vh] overflow-y-auto">
 | 
			
		||||
							<h3 class="text-lg leading-6 font-medium text-gray-900">
 | 
			
		||||
								{$_("do-you-want-to-delete-the-team-delete_team-name", {
 | 
			
		||||
									values: { teamname: delete_team.name },
 | 
			
		||||
								})}
 | 
			
		||||
							</h3>
 | 
			
		||||
							<div class="mt-2 mb-6">
 | 
			
		||||
							<div class="mb-6">
 | 
			
		||||
								<p class="text-sm text-gray-500">
 | 
			
		||||
									{$_("all-associated-runners-will-be-deleted-too")}
 | 
			
		||||
								</p>
 | 
			
		||||
@@ -81,7 +81,7 @@
 | 
			
		||||
						</div>
 | 
			
		||||
					</div>
 | 
			
		||||
				</div>
 | 
			
		||||
				<div class="bg-gray-50 px-4 py-3 sm:px-6 grid gap-2 lg:rounded-b-xl">
 | 
			
		||||
				<div class="bg-gray-50 px-4 lg:py-3 sm:px-6 grid gap-2 lg:rounded-b-xl pt-3 pb-10">
 | 
			
		||||
					<button
 | 
			
		||||
						on:click={deleteTeam}
 | 
			
		||||
						type="button"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user