Skip to content

Commit d2cf51f

Browse files
authored
Merge pull request #22 from layer5io/ui/sistent/externallink
UI: Sistent ExternalLink; Shift to off white
2 parents 3ed0a77 + dc3e1e8 commit d2cf51f

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

ui/src/components/ExtensionComponent/AuthedDashboard.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,10 +94,10 @@ const LaunchKanvasSection = ({ isDarkTheme }) => (
9494
sx={{ backgroundColor: isDarkTheme ? "#393F49" : "#D7DADE" }}
9595
>
9696
<AccountDiv>
97-
<KanvasGreen height={70} width={72} />
98-
<LinkButton onClick={() => (window.location.href = proxyUrl)}>
97+
<KanvasGreen height={70} width={72} style={{ marginBottom: "1rem" }} />
98+
<StyledButton variant="contained" component="span" onClick={() => (window.location.href = proxyUrl)}>
9999
<StyledLink style={{ color: "white" }}>Launch Kanvas</StyledLink>
100-
</LinkButton>
100+
</StyledButton>
101101
</AccountDiv>
102102
</ExtensionWrapper>
103103
);
@@ -151,7 +151,7 @@ const ImportDesignSection = ({ isDarkTheme }) => {
151151
mb={2}
152152
>
153153
<Typography whiteSpace="nowrap">Import Design File</Typography>
154-
<CustomTooltip title="Supported formats: Helm, K8s, Kustomize, Docker Compose">
154+
<CustomTooltip title="Supported formats: Helm chart, Kubernetes manifest, Kustomize, and Docker Compose. Learn more at https://docs.layer5.io/kanvas/getting-started/">
155155
<div>
156156
<InfoCircleIcon height={24} width={24} />
157157
</div>

ui/src/components/ExtensionComponent/RecentDesigns.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,8 @@ export default function RecentDesignsCard({ isDarkTheme }) {
112112
<ListItemIcon>
113113
<DesignIcon />
114114
</ListItemIcon>
115-
<ListItemText primary={design.name} />
116-
<ListItemText
115+
<ListItemText primary={design.name} style={{ textOverflow: "ellipsis", overflow: "hidden", whiteSpace: "nowrap", marginRight: "1rem" }} />
116+
<ListItemText style={{ color: "#ccc", textAlign: "right" }}
117117
primary={`Updated ${getFormatDate(design.updated_at)}`}
118118
/>
119119
</ListItem>

ui/src/components/ExtensionComponent/styledComponents.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ export const StyledButton = styled(ButtonBase)(({ style }) => ({
9898
whiteSpace: "nowrap",
9999
backgroundColor: "#00B39F",
100100
borderRadius: "5px",
101+
fontSize: "1rem",
101102
color: "white",
102103
padding: "10px 20px",
103104
"&:hover": {

0 commit comments

Comments
 (0)