Files
2959f2b300 Fix invisible email buttons in iOS Mail dark mode (#10976)
* Initial plan

* Fix invisible button in iOS Mail app dark mode using CSS media queries

Co-authored-by: tommoor <380914+tommoor@users.noreply.github.com>

* Add border

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: tommoor <380914+tommoor@users.noreply.github.com>
Co-authored-by: Tom Moor <tom@getoutline.com>
2025-12-20 20:27:29 -05:00

26 lines
478 B
TypeScript

import * as React from "react";
type Props = {
href: string;
};
const style: React.CSSProperties = {
display: "inline-block",
padding: "10px 20px",
color: "#FFFFFF",
background: "#000000",
border: "1px solid #000",
borderRadius: "4px",
fontWeight: 500,
textDecoration: "none",
cursor: "pointer",
};
const Button: React.FC<Props> = (props) => (
<a {...props} style={style} className="email-button">
{props.children}
</a>
);
export default Button;