From 467d895401b05d5e7ba0431d541593926af7e597 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Mon, 21 Apr 2014 17:17:29 -0400 Subject: README: update Customising section * Add more information about how the template tag works * Modify the CSS example to be more explicit now that the `.django-sneak-peek` class doesn't apply any styles of its own. --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3ab94ad..a988372 100644 --- a/README.md +++ b/README.md @@ -140,11 +140,12 @@ Preferred for inline-block elements. Sets `display: inline-block;` on the sneak ## Customising As you may have guessed, you can add custom display styles to `django-sneak-peek`. In addition to overriding the existing CSS classes, you can also create your own. +The `sneak_peek` template tag argument is passed directly to the `class` attribute of the sneak peek wrapper `