From e39f570801199812fdf856dfc647dc245d1e977c Mon Sep 17 00:00:00 2001 From: "Alexander M. Turek" Date: Sat, 5 Dec 2020 14:45:47 +0100 Subject: [PATCH] Remove trailing whitespaces. --- src/Chartjs/README.md | 4 ++-- src/Dropzone/README.md | 4 ++-- src/LazyImage/README.md | 6 +++--- src/Swup/README.md | 10 +++++----- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/Chartjs/README.md b/src/Chartjs/README.md index 02f3e131b6d..10fc38db830 100644 --- a/src/Chartjs/README.md +++ b/src/Chartjs/README.md @@ -46,7 +46,7 @@ class HomeController extends AbstractController ], ], ]); - + $chart->setOptions([/* ... */]); return $this->render('home/index.html.twig', [ @@ -56,7 +56,7 @@ class HomeController extends AbstractController } ``` -All options and data are provided as-is to Chart.js. You can read +All options and data are provided as-is to Chart.js. You can read [Chart.js documentation](https://www.chartjs.org/docs/latest/) to discover them all. Once created in PHP, a chart can be displayed using Twig: diff --git a/src/Dropzone/README.md b/src/Dropzone/README.md index f4dea928712..abd528a04c8 100644 --- a/src/Dropzone/README.md +++ b/src/Dropzone/README.md @@ -22,7 +22,7 @@ yarn encore dev ## Usage -The most common usage of Symfony UX Dropzone is to use it as a drop-in replacement of +The most common usage of Symfony UX Dropzone is to use it as a drop-in replacement of the native FileType class: ```php @@ -49,7 +49,7 @@ class CommentFormType extends AbstractType Symfony UX Dropzone provides a default stylesheet in order to ease usage. You can disable it to add your own design if you wish. -In `assets/controllers.json`, disable the default stylesheet by switching +In `assets/controllers.json`, disable the default stylesheet by switching the `@symfony/ux-dropzone/src/style.css` autoimport to `false`: ```json diff --git a/src/LazyImage/README.md b/src/LazyImage/README.md index a1856dfebcf..be0244c5852 100644 --- a/src/LazyImage/README.md +++ b/src/LazyImage/README.md @@ -33,7 +33,7 @@ page has been rendered: src="{{ asset('image/small.png') }}" data-controller="@symfony/ux-lazy-image/lazy-image" data-hd-src="{{ asset('image/large.png') }}" - + {# Optional but avoids having a page jump when the image is loaded #} width="200" height="150" @@ -48,7 +48,7 @@ the BlurHash algorithm to create a light, blurred, data-uri thumbnail of the ima src="{{ data_uri_thumbnail('public/image/large.png', 100, 75) }}" data-controller="@symfony/ux-lazy-image/lazy-image" data-hd-src="{{ asset('image/large.png') }}" - + {# Using BlurHash, the size is required #} width="200" height="150" @@ -103,7 +103,7 @@ Then in your template, add your controller to the HTML attribute: src="{{ data_uri_thumbnail('public/image/large.png', 100, 75) }}" data-controller="mylazyimage @symfony/ux-lazy-image/lazy-image" data-hd-src="{{ asset('image/large.png') }}" - + {# Using BlurHash, the size is required #} width="200" height="150" diff --git a/src/Swup/README.md b/src/Swup/README.md index 21e3b51e6b9..3969bd544d2 100644 --- a/src/Swup/README.md +++ b/src/Swup/README.md @@ -38,7 +38,7 @@ The main usage of Symfony UX Swup is to use its Stimulus controller to initializ {# ... #} - +
{# ... #}
@@ -61,16 +61,16 @@ additional containers, for instance to have a navigation menu that updates when Swup - {# ... #} - + - +
{# ... #}
@@ -89,7 +89,7 @@ You can configure several other options using data-attributes on the `body` tag: Swup -