Skip to content

Commit db63693

Browse files
committed
aesthetics
1 parent 42f4eb6 commit db63693

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

services/static-webserver/client/source/class/osparc/dashboard/ListButtonLoadMore.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,12 @@ qx.Class.define("osparc.dashboard.ListButtonLoadMore", {
3939
members: {
4040
_applyFetching: function(value) {
4141
this.setIcon(osparc.dashboard.CardBase.LOADING_ICON);
42+
const image = this.getChildControl("icon").getChildControl("image");
43+
image.setPadding(5); // add padding to make the rotation smoother
4244
if (value) {
43-
this.getChildControl("icon").getChildControl("image").getContentElement()
44-
.addClass("rotate");
45+
image.getContentElement().addClass("rotate");
4546
} else {
46-
this.getChildControl("icon").getChildControl("image").getContentElement()
47-
.removeClass("rotate");
47+
image.getContentElement().removeClass("rotate");
4848
}
4949
this.setEnabled(!value);
5050
},

0 commit comments

Comments
 (0)