diff --git a/portals/publisher/src/main/webapp/source/src/app/components/Scopes/Listing/Listing.jsx b/portals/publisher/src/main/webapp/source/src/app/components/Scopes/Listing/Listing.jsx
index f2027ecc38c..2ee3ddd0b36 100644
--- a/portals/publisher/src/main/webapp/source/src/app/components/Scopes/Listing/Listing.jsx
+++ b/portals/publisher/src/main/webapp/source/src/app/components/Scopes/Listing/Listing.jsx
@@ -62,11 +62,10 @@ const classes = {
buttonLeft: `${PREFIX}-buttonLeft`
};
-const Root = styled('div')((
- {
- theme
- }
-) => ({
+const Root = styled('div')(({ theme }) => ({
+ '&': {
+ padding: `${theme.spacing(1)} ${theme.spacing(3)}`,
+ },
[`& .${classes.contentInside}`]: {
padding: theme.spacing(3),
paddingTop: theme.spacing(2),
@@ -196,9 +195,7 @@ function ScopeTablePagination(props) {
}
return (
-
+
@@ -217,7 +214,7 @@ function ScopeTablePagination(props) {
size='large'>
-
+
);
}
@@ -445,55 +442,57 @@ class Listing extends React.Component {
}
return (
-
-
-
-
-
-
-
+
+ {isRestricted(['apim:shared_scope_manage']) && (
+
+
+
+
+
+ )}
+
+
+
+
+
+
);
}
}
diff --git a/portals/publisher/src/main/webapp/source/src/app/components/ServiceCatalog/Listing/Overview.jsx b/portals/publisher/src/main/webapp/source/src/app/components/ServiceCatalog/Listing/Overview.jsx
index 1c5c1054f9e..318e9ab68a0 100644
--- a/portals/publisher/src/main/webapp/source/src/app/components/ServiceCatalog/Listing/Overview.jsx
+++ b/portals/publisher/src/main/webapp/source/src/app/components/ServiceCatalog/Listing/Overview.jsx
@@ -88,12 +88,7 @@ const classes = {
editorRoot: `${PREFIX}-editorRoot`
};
-
-const Root = styled('div')((
- {
- theme
- }
-) => ({
+const Root = styled('div')(({ theme }) => ({
[`& .${classes.preview}`]: {
height: theme.spacing(16),
marginBottom: theme.spacing(3),
@@ -184,10 +179,6 @@ const Root = styled('div')((
marginRight: theme.spacing(1),
},
- [`& .${classes.button}`]: {
- marginLeft: theme.spacing(2),
- },
-
[`& .${classes.buttonIcon}`]: {
marginRight: theme.spacing(1),
},
@@ -195,6 +186,12 @@ const Root = styled('div')((
[`& .${classes.downloadButtonSpacing}`]: {
marginLeft: theme.spacing(1),
},
+}));
+
+const StyledDialog = styled(Dialog)(({ theme }) => ({
+ [`& .${classes.button}`]: {
+ marginLeft: theme.spacing(2),
+ },
[`& .${classes.editorPane}`]: {
width: '50%',
@@ -624,12 +621,12 @@ function Overview(props) {