From 6205da4d3b18052da77f43cb1d7659bbbded79c8 Mon Sep 17 00:00:00 2001 From: barsnes Date: Thu, 20 Jun 2024 13:35:35 +0200 Subject: [PATCH] add fieldset to switches, fix misc --- .../Previews/Components/Components.tsx | 33 +++++-------------- 1 file changed, 8 insertions(+), 25 deletions(-) diff --git a/apps/theme/components/Previews/Components/Components.tsx b/apps/theme/components/Previews/Components/Components.tsx index b0bbf5245f..6559a2f3ab 100644 --- a/apps/theme/components/Previews/Components/Components.tsx +++ b/apps/theme/components/Previews/Components/Components.tsx @@ -23,6 +23,7 @@ import { Tooltip, Chip, Textarea, + Fieldset, } from '@digdir/designsystemet-react'; import classes from './Components.module.css'; @@ -266,6 +267,7 @@ export const Components = () => { setRadioValue(e)} @@ -335,40 +337,21 @@ export const Components = () => {
- - Innstillinger - - - Her kan du justere på innstillingene dine - -
- - TV-visning - + TV-visning Desktopvisning Tabletvisning - - Mobilvisning - -
+ Mobilvisning +