From fe9346fee633b6eb82384255ae628550a6846f7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maren=20S=C3=BCwer?= Date: Thu, 20 Dec 2018 16:27:41 +0100 Subject: [PATCH 1/3] rename css class --- .../src/repos/components/list/RepositoryEntry.js | 2 +- scm-ui/styles/scm.scss | 14 ++++++-------- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/scm-ui/src/repos/components/list/RepositoryEntry.js b/scm-ui/src/repos/components/list/RepositoryEntry.js index b0b70fc861..4ba9dbf689 100644 --- a/scm-ui/src/repos/components/list/RepositoryEntry.js +++ b/scm-ui/src/repos/components/list/RepositoryEntry.js @@ -95,7 +95,7 @@ class RepositoryEntry extends React.Component {
-
+

{repository.name} diff --git a/scm-ui/styles/scm.scss b/scm-ui/styles/scm.scss index 9d65bbe26f..f2a373ff09 100644 --- a/scm-ui/styles/scm.scss +++ b/scm-ui/styles/scm.scss @@ -112,14 +112,12 @@ $fa-font-path: "webfonts"; } } -.media { - .media-content { - width: calc(50% - 0.75rem); - .shorten-text { - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - } +.text-box { + width: calc(50% - 0.75rem); + .shorten-text { + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; } } From 2f6eae4fac42313ebc97e01babd736eb1d801552 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maren=20S=C3=BCwer?= Date: Thu, 20 Dec 2018 16:45:38 +0100 Subject: [PATCH 2/3] repository link should be clickable everywhere in its box --- scm-ui/src/repos/components/list/RepositoryEntry.js | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/scm-ui/src/repos/components/list/RepositoryEntry.js b/scm-ui/src/repos/components/list/RepositoryEntry.js index 4ba9dbf689..122128db3a 100644 --- a/scm-ui/src/repos/components/list/RepositoryEntry.js +++ b/scm-ui/src/repos/components/list/RepositoryEntry.js @@ -9,7 +9,12 @@ import classNames from "classnames"; import RepositoryAvatar from "./RepositoryAvatar"; const styles = { - overlay: { + overlayFullColumn: { + position: "absolute", + height: "calc(120px - 0.5rem)", + width: "calc(100% - 1.5rem)" + }, + overlayHalfColumn: { position: "absolute", height: "calc(120px - 1.5rem)", width: "calc(50% - 3rem)" @@ -80,6 +85,9 @@ class RepositoryEntry extends React.Component { const { repository, classes, fullColumnWidth } = this.props; const repositoryLink = this.createLink(repository); const halfColumn = fullColumnWidth ? "is-full" : "is-half"; + const overlayLinkClass = fullColumnWidth + ? classes.overlayFullColumn + : classes.overlayHalfColumn; return (

{ halfColumn )} > - +
From 6fdb249afe65fcd0241b841998b3b58dff967679 Mon Sep 17 00:00:00 2001 From: Florian Scholdei Date: Wed, 2 Jan 2019 14:50:08 +0000 Subject: [PATCH 3/3] Close branch bugfix/repos_in_overview_clickable