From d7ea1030abb0a0fb27d9ec070ded7612f23e9a03 Mon Sep 17 00:00:00 2001 From: Romain Derie Date: Mon, 10 Sep 2018 11:28:18 +0200 Subject: [PATCH] [FIX] web_unsplash: row without container not taking all width in bs4 This commits add a container to make row full width, it also use bs4 classes to make the content centered. It also clean useless DOM. Task-1878245 (chatter) --- .../static/src/xml/unsplash_image_widget.xml | 34 ++++++++----------- 1 file changed, 14 insertions(+), 20 deletions(-) diff --git a/addons/web_unsplash/static/src/xml/unsplash_image_widget.xml b/addons/web_unsplash/static/src/xml/unsplash_image_widget.xml index 3d18b932dd9..e1104b6014f 100644 --- a/addons/web_unsplash/static/src/xml/unsplash_image_widget.xml +++ b/addons/web_unsplash/static/src/xml/unsplash_image_widget.xml @@ -9,21 +9,21 @@ -
+
-
+
-
+
-
+
Photos not found
@@ -31,8 +31,8 @@
- -
+
+

Access key is not set

@@ -45,20 +45,16 @@
-
- - -
+ +

Search is temporary unavailable

The max number of searches is exceeded. Please retry in an hour or extend to a better account.
-
-
- -
+ +

Unauthorized Key

@@ -71,18 +67,16 @@
- -
- -
+ +

Something went wrong

Please check your internet connection or contact administrator.
-
-
+ +