From c3653dc6a2b02cc2dccf96c06f958699ce2549d0 Mon Sep 17 00:00:00 2001 From: JamalAlabdullah Date: Fri, 12 Jul 2024 10:54:02 +0200 Subject: [PATCH] chnaged classname --- frontend/language/src/nb.json | 6 +++--- .../config/Expressions/ExpressionHeading.module.css | 2 +- .../src/components/config/Expressions/ExpressionHeading.tsx | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/frontend/language/src/nb.json b/frontend/language/src/nb.json index edce40ec9ad..61617b9fd8a 100644 --- a/frontend/language/src/nb.json +++ b/frontend/language/src/nb.json @@ -1255,9 +1255,9 @@ "right_menu.expressions_property": "Komponentfelt med uttrykk", "right_menu.expressions_property_hidden": "Skjul felt dersom", "right_menu.expressions_property_on_component": "Velg hva som skal skje med {{componentName}}", - "right_menu.expressions_property_preview_hidden": "Skjul {{componentName}} hvis …", - "right_menu.expressions_property_preview_read_only": "Sett {{componentName}} som skrivebeskyttet hvis …", - "right_menu.expressions_property_preview_required": "Sett {{componentName}} som påkrevd hvis …", + "right_menu.expressions_property_preview_hidden": "Skjul {{componentName}} hvis …", + "right_menu.expressions_property_preview_read_only": "Sett {{componentName}} som skrivebeskyttet hvis …", + "right_menu.expressions_property_preview_required": "Sett {{componentName}} som påkrevd hvis …", "right_menu.expressions_property_read_only": "Sett felt som skrivebeskyttet dersom", "right_menu.expressions_property_required": "Sett felt som påkrevd dersom", "right_menu.expressions_property_select": "Velg regel …", diff --git a/frontend/packages/ux-editor/src/components/config/Expressions/ExpressionHeading.module.css b/frontend/packages/ux-editor/src/components/config/Expressions/ExpressionHeading.module.css index 3276223d43c..6c244f99eab 100644 --- a/frontend/packages/ux-editor/src/components/config/Expressions/ExpressionHeading.module.css +++ b/frontend/packages/ux-editor/src/components/config/Expressions/ExpressionHeading.module.css @@ -1,4 +1,4 @@ -.string { +.textElement { flex: 1; white-space: nowrap; } diff --git a/frontend/packages/ux-editor/src/components/config/Expressions/ExpressionHeading.tsx b/frontend/packages/ux-editor/src/components/config/Expressions/ExpressionHeading.tsx index 9f7515eb0fc..0d2969d4dd7 100644 --- a/frontend/packages/ux-editor/src/components/config/Expressions/ExpressionHeading.tsx +++ b/frontend/packages/ux-editor/src/components/config/Expressions/ExpressionHeading.tsx @@ -16,7 +16,7 @@ export const ExpressionHeading = ({ formItem, property }: ExpressionHeadingProps values={{ componentName: formItem.id }} components={{ componentName: , - string: , + textElement: , }} /> );