Skip to content

Commit

Permalink
remove bold labels on fields
Browse files Browse the repository at this point in the history
  • Loading branch information
bellangerq committed Jul 4, 2024
1 parent 797b316 commit 0fd51aa
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,7 @@ function onFileRequestFinished() {
>
<!-- COMMENT -->
<div class="fr-input-group fr-mb-1w">
<label
class="fr-label fr-text--bold"
:for="`criterum-comment-field-${id}`"
>
<label class="fr-label" :for="`criterum-comment-field-${id}`">
Description des erreurs et recommandations
</label>
<textarea
Expand Down Expand Up @@ -111,7 +108,6 @@ function onFileRequestFinished() {
:multiple="true"
:error-message="errorMessage"
title="Ajouter des images d’exemple"
:bold-title="true"
@delete-file="handleDeleteFile"
@upload-file="handleUploadFile"
/>
Expand Down
3 changes: 1 addition & 2 deletions confiture-web-app/src/components/audit/NotesModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ function handleDeleteFile(file: AuditFile) {
</div>
</div>
<div class="fr-input-group fr-mb-1v">
<label class="fr-label fr-text--bold" for="audit-notes">
<label class="fr-label" for="audit-notes">
Remarques et recommandations générales
</label>
<textarea
Expand All @@ -123,7 +123,6 @@ function handleDeleteFile(file: AuditFile) {
ref="fileUpload"
class="fr-mb-4w"
:audit-files="files"
:bold-title="true"
:disabled="isOffline"
:error-message="errorMessage"
:multiple="true"
Expand Down
2 changes: 0 additions & 2 deletions confiture-web-app/src/components/ui/FileUpload.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import { formatBytes, getUploadUrl } from "../../utils";
export interface Props {
acceptedFormats?: Array<string>;
auditFiles: AuditFile[];
boldTitle?: boolean;
errorMessage?: FileErrorMessage | null;
maxFileSize?: string;
multiple?: boolean;
Expand Down Expand Up @@ -116,7 +115,6 @@ function onFileRequestFinished() {
<p
:id="`file-upload-description-${id}`"
class="fr-label fr-upload-group__desc"
:class="{ 'fr-text--bold': boldTitle }"
>
{{ title }}
</p>
Expand Down
2 changes: 1 addition & 1 deletion confiture-web-app/src/components/ui/RadioGroup.vue
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ function handleChange(value: string) {

<template>
<fieldset class="fr-mx-0 fr-p-0 fieldset">
<legend :class="hideLabel ? 'sr-only' : 'fr-text--bold fr-label fr-mb-3v'">
<legend :class="hideLabel ? 'sr-only' : 'fr-label fr-mb-3v'">
{{ label }}
</legend>
<div v-for="(item, i) in items" :key="i">
Expand Down

0 comments on commit 0fd51aa

Please sign in to comment.