Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

style(create): create modal changes #1669

Merged
merged 1 commit into from
Oct 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
'use client'
import { Dropdown } from '@entur/dropdown'
import { TextField, Checkbox } from '@entur/form'
import { AddIcon } from '@entur/icons'
import { Heading3, Paragraph, Label } from '@entur/typography'
import { Paragraph, Label, Heading2 } from '@entur/typography'
import { useOrganizations } from 'app/(admin)/hooks/useOrganizations'
import { getFormFeedbackForField } from 'app/(admin)/utils'
import { HiddenInput } from 'components/Form/HiddenInput'
Expand All @@ -24,7 +23,9 @@ function NameAndOrganizationSelector() {

return (
<form action={action} className="md:px-10">
<Heading3>Velg navn og organisasjon for tavlen</Heading3>
<Heading2 className="text-nowrap">
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Kan fjerne text-nowrap, bedre at teksten blir på flere linjer enn at man må scrolle horisontalt i modalen

Velg navn og organisasjon for tavlen
</Heading2>
<Paragraph className="!mb-4">
Gi tavlen et navn og legg den til i en organisasjon. Velger du
en organisasjon vil alle i organisasjonen ha tilgang til tavlen.
Expand Down Expand Up @@ -72,10 +73,9 @@ function NameAndOrganizationSelector() {
<FormError {...getFormFeedbackForField('general', state)} />
</div>

<div className="flex flex-row mt-8 justify-end">
<div className="flex flex-row mt-8 justify-start">
<SubmitButton variant="primary" className="max-sm:w-full">
Opprett tavle
<AddIcon />
</SubmitButton>
</div>
</form>
Expand Down