Skip to content

Commit

Permalink
refactor: Add LocationAddress type for location information
Browse files Browse the repository at this point in the history
  • Loading branch information
ngocjohn committed Nov 13, 2024
1 parent 83f5753 commit 72aecfa
Show file tree
Hide file tree
Showing 7 changed files with 410 additions and 200 deletions.
19 changes: 18 additions & 1 deletion src/css/editor.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
border-bottom: inherit;
min-height: 48px;
align-items: center;
cursor: pointer;
overflow: hidden;
font-weight: 500;
outline: 0px;
Expand Down Expand Up @@ -98,6 +97,24 @@ ha-select {
cursor: pointer;
}

.location-item {
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: stretch;
padding-inline: 8px;
}

.location-item .primary {
font-weight: 500;
}

.location-item .secondary {
color: var(--secondary-text-color);
text-transform: capitalize;
}


img.bg-thumbnail {
width: 70%;
height: auto;
Expand Down
Loading

0 comments on commit 72aecfa

Please sign in to comment.