Skip to content

Commit 2631283

Browse files
author
Benjamin Perez
committed
misc fixes
1 parent 61a6fb6 commit 2631283

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

portal-ui/src/StyleHandler.tsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,6 @@ const StyleHandler = ({ children }: IStyleHandler) => {
8686
width: 16,
8787
},
8888
},
89-
// You should target [class*="MuiButton-root"] instead if you nest themes.
90-
".MuiButton-root:not(.noDefaultHeight)": {
91-
height: 38,
92-
},
9389
".MuiButton-contained": {
9490
fontSize: "14px",
9591
textTransform: "capitalize",

portal-ui/src/screens/Console/Buckets/ListBuckets/AddBucket/AddBucket.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,9 @@ const styles = (theme: Theme) =>
6464
createStyles({
6565
buttonContainer: {
6666
marginTop: 24,
67-
textAlign: "right",
68-
"& .MuiButton-root": {
67+
display: "flex",
68+
justifyContent: "flex-end",
69+
"& button": {
6970
marginLeft: 8,
7071
},
7172
},
@@ -475,6 +476,7 @@ const AddBucket = ({ classes }: IsetProps) => {
475476
variant="callAction"
476477
color="primary"
477478
disabled={addLoading || invalidFields.length > 0 || hasErrors}
479+
label={"Create Bucket"}
478480
/>
479481
</Grid>
480482
{addLoading && (

portal-ui/tests/operator/login.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,5 @@ test("Login to Operator Web Page", async (t) => {
2424
await t
2525
.navigateTo("http://localhost:9090/login")
2626
.typeText("#jwt", "anyrandompasswordwillwork")
27-
.click("button.MuiButton-root");
27+
.click("#do-login");
2828
});

0 commit comments

Comments
 (0)