fixed layout for non-english languages (#1004)
This commit is contained in:
		
							parent
							
								
									a6eed6ffcc
								
							
						
					
					
						commit
						d6a5d1f3da
					
				
					 1 changed files with 5 additions and 5 deletions
				
			
		|  | @ -132,7 +132,7 @@ export default function Success(props: inferSSRProps<typeof getServerSideProps>) | ||||||
|                   </div> |                   </div> | ||||||
|                   {!needsConfirmation && ( |                   {!needsConfirmation && ( | ||||||
|                     <div className="flex pt-2 mt-5 text-center sm:mt-0 sm:pt-4"> |                     <div className="flex pt-2 mt-5 text-center sm:mt-0 sm:pt-4"> | ||||||
|                       <span className="flex self-center mr-6 font-medium text-gray-700 dark:text-gray-50"> |                       <span className="flex self-center mr-2 font-medium text-gray-700 dark:text-gray-50"> | ||||||
|                         {t("add_to_calendar")} |                         {t("add_to_calendar")} | ||||||
|                       </span> |                       </span> | ||||||
|                       <div className="flex"> |                       <div className="flex"> | ||||||
|  | @ -147,7 +147,7 @@ export default function Success(props: inferSSRProps<typeof getServerSideProps>) | ||||||
|                               props.eventType.description |                               props.eventType.description | ||||||
|                             }` + (typeof location === "string" ? encodeURIComponent(location) : "")
 |                             }` + (typeof location === "string" ? encodeURIComponent(location) : "")
 | ||||||
|                           }> |                           }> | ||||||
|                           <a className="px-3 py-2 mx-2 rounded-sm border border-neutral-200 dark:border-neutral-700 dark:text-white"> |                           <a className="px-3 w-10 h-10 py-2 mx-2 rounded-sm border border-neutral-200 dark:border-neutral-700 dark:text-white"> | ||||||
|                             <svg |                             <svg | ||||||
|                               className="inline-block -mt-1 w-4 h-4" |                               className="inline-block -mt-1 w-4 h-4" | ||||||
|                               fill="currentColor" |                               fill="currentColor" | ||||||
|  | @ -172,7 +172,7 @@ export default function Success(props: inferSSRProps<typeof getServerSideProps>) | ||||||
|                             ) + (location ? "&location=" + location : "") |                             ) + (location ? "&location=" + location : "") | ||||||
|                           }> |                           }> | ||||||
|                           <a |                           <a | ||||||
|                             className="px-3 py-2 mx-2 rounded-sm border border-neutral-200 dark:border-neutral-700 dark:text-white" |                             className="px-3 w-10 h-10 py-2 mx-2 rounded-sm border border-neutral-200 dark:border-neutral-700 dark:text-white" | ||||||
|                             target="_blank"> |                             target="_blank"> | ||||||
|                             <svg |                             <svg | ||||||
|                               className="inline-block -mt-1 mr-1 w-4 h-4" |                               className="inline-block -mt-1 mr-1 w-4 h-4" | ||||||
|  | @ -198,7 +198,7 @@ export default function Success(props: inferSSRProps<typeof getServerSideProps>) | ||||||
|                             ) + (location ? "&location=" + location : "") |                             ) + (location ? "&location=" + location : "") | ||||||
|                           }> |                           }> | ||||||
|                           <a |                           <a | ||||||
|                             className="px-3 py-2 mx-2 rounded-sm border border-neutral-200 dark:border-neutral-700 dark:text-white" |                             className="px-3 w-10 h-10 py-2 mx-2 rounded-sm border border-neutral-200 dark:border-neutral-700 dark:text-white" | ||||||
|                             target="_blank"> |                             target="_blank"> | ||||||
|                             <svg |                             <svg | ||||||
|                               className="inline-block -mt-1 mr-1 w-4 h-4" |                               className="inline-block -mt-1 mr-1 w-4 h-4" | ||||||
|  | @ -212,7 +212,7 @@ export default function Success(props: inferSSRProps<typeof getServerSideProps>) | ||||||
|                         </Link> |                         </Link> | ||||||
|                         <Link href={"data:text/calendar," + eventLink()}> |                         <Link href={"data:text/calendar," + eventLink()}> | ||||||
|                           <a |                           <a | ||||||
|                             className="px-3 py-2 mx-2 rounded-sm border border-neutral-200 dark:border-neutral-700 dark:text-white" |                             className="px-3 w-10 h-10 py-2 mx-2 rounded-sm border border-neutral-200 dark:border-neutral-700 dark:text-white" | ||||||
|                             download={props.eventType.title + ".ics"}> |                             download={props.eventType.title + ".ics"}> | ||||||
|                             <svg |                             <svg | ||||||
|                               version="1.1" |                               version="1.1" | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue
	
	 Peer Richelsen
						Peer Richelsen