Skip to content

Commit

Permalink
Fixes #92
Browse files Browse the repository at this point in the history
  • Loading branch information
ludeeus committed Apr 5, 2020
1 parent 60b6d62 commit cf00e3a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/misc/OviewItemBuilder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
Status,
Route,
LovelaceConfig,
LovelaceResourceConfig
LovelaceResourceConfig,
} from "../data";
import { AddedToLovelace } from "../misc/AddedToLovelace";
import emoji from "node-emoji";
Expand Down Expand Up @@ -75,7 +75,7 @@ export class OviewItemBuilder {
>
</ha-icon>
</div>
<paper-item-body two-line>
<paper-item-body two-line class="two-line-list-body">
<div>
${emoji.emojify(repository.name || "")}
${this.route.path === "/installed"
Expand Down Expand Up @@ -123,7 +123,7 @@ export class OviewItemBuilder {
new CustomEvent("hacs-location-change", {
detail: { value: `repository/${RepoID}` },
bubbles: true,
composed: true
composed: true,
})
);
}
Expand Down
7 changes: 5 additions & 2 deletions src/style/hacs-style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,10 @@ const baseHacsStyles = css`
.card-group {
margin-top: 24px;
}
.two-line-list-body {
min-height: 0 !important;
display: contents;
}
.card-group {
color: var(--primary-text-color);
margin-bottom: 12px;
Expand Down Expand Up @@ -203,5 +206,5 @@ export const HacsStyle: CSSResultArray = [
_haStyle,
_navStyle,
baseHacsStyles,
mobileHacsStyles
mobileHacsStyles,
];

0 comments on commit cf00e3a

Please sign in to comment.