From f239f62e9b5c2b2452c25bb9932772defdb23e40 Mon Sep 17 00:00:00 2001 From: Ives Aerts Date: Thu, 2 Aug 2018 11:19:20 +0200 Subject: [PATCH] Use relative URL to load images Needed to support projects with a custom widgetset that is not named "AppWidgetset". --- .../org/vaadin/addons/public/resetbutton-vaadin8/styles.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resetbutton-vaadin8-addon/src/main/resources/org/vaadin/addons/public/resetbutton-vaadin8/styles.css b/resetbutton-vaadin8-addon/src/main/resources/org/vaadin/addons/public/resetbutton-vaadin8/styles.css index 2a3d8cc..06d71ca 100644 --- a/resetbutton-vaadin8-addon/src/main/resources/org/vaadin/addons/public/resetbutton-vaadin8/styles.css +++ b/resetbutton-vaadin8-addon/src/main/resources/org/vaadin/addons/public/resetbutton-vaadin8/styles.css @@ -10,10 +10,10 @@ cursor: pointer; width: 16px; height: 16px; - background: url('/VAADIN/widgetsets/AppWidgetset/resetbutton-vaadin8/resetbutton-default.svg') no-repeat center center; + background: url('resetbutton-default.svg') no-repeat center center; } .resetbuttonfortextfield-resetbutton:hover { - background-image: url('/VAADIN/widgetsets/AppWidgetset/resetbutton-vaadin8/resetbutton-hover.svg'); + background-image: url('resetbutton-hover.svg'); cursor: pointer; }