File tree Expand file tree Collapse file tree 3 files changed +13
-4
lines changed
src/components/pages/projectDetails Expand file tree Collapse file tree 3 files changed +13
-4
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,8 @@ import dayjs from '@/lib/dayjs';
55import { CopyToClipboard , DetailedStats } from '@uselagoon/ui-library' ;
66import giturlparse from 'git-url-parse' ;
77
8+ import { StyledGitLink } from './styles' ;
9+
810interface ProjectDetailsProps {
911 project : ProjectDetailsData [ 'project' ] ;
1012}
@@ -32,15 +34,15 @@ export default function ProjectDetailsPage(props: ProjectDetailsProps) {
3234 key : 'origin' ,
3335 label : 'ORIGIN' ,
3436 children : (
35- < a className = "hover-state" data-cy = "gitLink" target = "_blank" href = { `https://${ gitLink } ` } >
37+ < StyledGitLink className = "hover-state" data-cy = "gitLink" target = "_blank" href = { `https://${ gitLink } ` } >
3638 { gitLink }
37- </ a >
39+ </ StyledGitLink >
3840 ) ,
3941 } ,
4042 {
4143 key : 'giturl' ,
4244 label : 'GIT URL' ,
43- children : < CopyToClipboard type = "visible" withToolTip text = { project . gitUrl } /> ,
45+ children : < CopyToClipboard fontSize = "1.5rem" type = "visible" withToolTip text = { project . gitUrl } /> ,
4446 } ,
4547 {
4648 key : 'branches' ,
Original file line number Diff line number Diff line change 1+ import styled from 'styled-components' ;
2+
3+ export const StyledGitLink = styled . a `
4+ word-wrap: break-word;
5+ color: inherit;
6+ ` ;
Original file line number Diff line number Diff line change 34123412
34133413" @uselagoon/ui-library@github:uselagoon/ui-library " :
34143414 version "1.1.2"
3415- resolved "https://codeload.github.com/uselagoon/ui-library/tar.gz/1057ec867fbaa76898fb82b493ff806fab1e8aa2 "
3415+ resolved "https://codeload.github.com/uselagoon/ui-library/tar.gz/ad2699ae17d334a2900c70cf92b6e2cd32caa849 "
34163416 dependencies :
34173417 dayjs "^1.11.13"
34183418 react-highlight-words "^0.20.0"
@@ -10323,6 +10323,7 @@ wordwrap@^1.0.0:
1032310323 integrity sha512-gvVzJFlPycKc5dZN4yPkP8w7Dc37BtP1yczEneOb4uq34pXZcvrtRTmWV8W+Ume+XCxKgbjM+nevkyFPMybd4Q==
1032410324
1032510325" wrap-ansi-cjs@npm:wrap-ansi@^7.0.0" , wrap-ansi@^7.0.0:
10326+ name wrap-ansi-cjs
1032610327 version "7.0.0"
1032710328 resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43"
1032810329 integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==
You can’t perform that action at this time.
0 commit comments