Hello,
I have an global page app that I’m developing using the Custom UI and for some reason I can’t get a button to display in my app that is of normal size. No matter what Button variant I try, the button that is displayed in Jira is the size of my cursor:
The button works, when I click on it it will call the onClick function, but its too small to display the text or for me to want to use. Here is the code:
import Button from "@atlaskit/button";
function Home() {
return (
<>
<h2>Connect</h2>
<Button text="Get Data" onClick={getProjectData} />
</>
);
}
I have this line in index.jsx file:
import '@atlaskit/css-reset';
And the following in my manifest.yml file:
permissions:
content:
styles:
- "unsafe-inline"
I’ve also tried importing the Button from @forge/react with no luck. Can someone please advise on what I’m doing wrong here. I’m still fairly new to Forge development and I haven’t been able to find this issue in the community.
Forge Custom UI and UI kit (beta) atlaskit jira-cloud jira-plugin Forge