Skip to content

Commit

Permalink
Updated styling to work better with dark and transparent themes
Browse files Browse the repository at this point in the history
Updated styling to work better with dark and transparent themes
  • Loading branch information
gadgetchnnel committed Jul 22, 2019
1 parent e801e0d commit 6694fd3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
2 changes: 1 addition & 1 deletion custom_card.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"lovelace-home-feed-card": {
"version": "0.2.8b1",
"version": "0.2.8b2",
"remote_location": "https://raw.githubusercontent.com/gadgetchnnel/lovelace-home-feed-card/master/lovelace-home-feed-card.js",
"visit_repo": "https://github.com/gadgetchnnel/lovelace-home-feed-card",
"changelog": "https://github.com/gadgetchnnel/lovelace-home-feed-card"
Expand Down
9 changes: 2 additions & 7 deletions lovelace-home-feed-card.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,11 @@ class HomeFeedCard extends Polymer.Element {
<style>
ha-card {
padding: 0 16px 16px 16px;
max-height: 30em;
overflow: auto;
}
#notifications {
margin: -4px 0;
/*padding-top: 2em;*/
max-height: 28em;
overflow: auto;
}
#notifications > * {
margin: 8px 0;
Expand Down Expand Up @@ -89,13 +88,9 @@ class HomeFeedCard extends Polymer.Element {
padding: 28px 0 12px;
display: flex;
justify-content: space-between;
position: -webkit-sticky;
position: sticky;
top: 0;
z-index: 999;
width: 100%;
background: var(--ha-card-background, var(--paper-card-background-color, white));
opacity: 1.0;
}
.header .name {
white-space: var(--paper-font-common-nowrap_-_white-space); overflow: var(--paper-font-common-nowrap_-_overflow); text-overflow: var(--paper-font-common-nowrap_-_text-overflow);
Expand Down

0 comments on commit 6694fd3

Please sign in to comment.