Skip to content

Commit

Permalink
fix(toggle): changed lable to subparagraph
Browse files Browse the repository at this point in the history
  • Loading branch information
vildeopp committed Jul 14, 2023
1 parent a6c1810 commit abb7360
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
6 changes: 3 additions & 3 deletions next-tavla/src/Admin/scenarios/ToggleColumns/index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Heading4, Label } from '@entur/typography'
import { Heading4, Label, SubParagraph } from '@entur/typography'
import { useSettingsDispatch } from 'Admin/utils/contexts'
import { Columns, DefaultColumns, TColumn } from 'types/column'
import { TTile } from 'types/tile'
Expand All @@ -22,11 +22,11 @@ function ToggleColumns({ tile }: { tile: TTile }) {
return (
<div>
<Heading4>Legg til ekstra detaljer om holdeplassen</Heading4>
<Label className={classes.toggleLable}>
<SubParagraph>
Denne ekstra informasjonen vil bli lagt til i denne spesifikke
holdeplassen, dersom du krysser den av. <br /> Fra før av vises:
linje, destinasjon, avvik og avgangstid
</Label>
</SubParagraph>
<div className={classes.columnToggleWrapper}>
{optionalColumns.map((col) => {
return (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,3 @@
gap: 1em;
margin: 1em;
}

.toggleLable {
color: var(--main-text-color);
}

0 comments on commit abb7360

Please sign in to comment.