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

Retire le gras des labels #751

Merged
merged 1 commit into from
Jul 10, 2024
Merged
Show file tree
Hide file tree
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
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
Loading