one-click-accessibility/modules/scanner/assets/js/styles/alt-text-form.styles.js
VasylD fa2fd11e29
[APP-934] add submit logic (#259)
* [APP-934] add submit logic

* [APP-934] add submit logic

* [APP-934] add submit logic

* [APP-934] add submit logic

* Added replace remediation action

* Add submit logic

* Add submit alt text logic, generate AI alt text

* Add AI generate request, add convert from SVG to png base64, added manual fix block

* Add AI generate request, add convert from SVG to png base64, added manual fix block

* Add texts, add remediation submit, fix logic to store remediation

* Add texts, add remediation submit, fix logic to store remediation

* Add texts, add remediation submit, fix logic to store remediation

* Add texts, add remediation submit, fix logic to store remediation

* Add texts, add remediation submit, fix logic to store remediation

* Add texts, add remediation submit, fix logic to store remediation

---------

Co-authored-by: Raz Ohad <admin@bainternet.info>
2025-05-06 00:00:46 +03:00

28 lines
626 B
JavaScript

import Box from '@elementor/ui/Box';
import InputLabel from '@elementor/ui/InputLabel';
import Paper from '@elementor/ui/Paper';
import { styled } from '@elementor/ui/styles';
export const StyledBox = styled(Box)`
display: flex;
flex-direction: column;
gap: ${({ theme }) => theme.spacing(2)};
`;
export const StyledLabel = styled(InputLabel)`
display: flex;
align-items: start;
overflow: visible;
gap: ${({ theme }) => theme.spacing(0.5)};
`;
export const StyledPaper = styled(Paper)`
display: flex;
justify-content: center;
align-items: center;
height: 140px;
& > * {
max-height: 100%;
width: auto;
}
`;