Fix widths for pagination test and modal confirm btns (#2445)

This commit is contained in:
Rishabh Saxena 2021-01-06 16:39:08 +05:30 committed by GitHub
parent eb1f9e7ec8
commit affb68ee52
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 4 deletions

View File

@ -262,7 +262,7 @@ const WidgetConfigResponse: WidgetConfigReducerState = {
},
{
type: "BUTTON_WIDGET",
position: { left: 10, top: 4 },
position: { left: 9, top: 4 },
size: { rows: 1, cols: 3 },
props: {
text: "Cancel",
@ -271,8 +271,8 @@ const WidgetConfigResponse: WidgetConfigReducerState = {
},
{
type: "BUTTON_WIDGET",
position: { left: 13, top: 4 },
size: { rows: 1, cols: 3 },
position: { left: 12, top: 4 },
size: { rows: 1, cols: 4 },
props: {
text: "Confirm",
buttonStyle: "PRIMARY_BUTTON",

View File

@ -39,11 +39,14 @@ const StyledDynamicTextField = styled(DynamicTextField)`
const TestButton = styled(BaseButton)`
&&& {
max-width: 72px;
margin: 0 5px;
min-height: 32px;
padding-right: 4px;
}
&&&& {
width: auto;
}
`;
export default function Pagination(props: PaginationProps) {