Skip to content

Commit

Permalink
slider custom css fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Nerwyn committed Nov 8, 2023
1 parent eb357bd commit 5da5e10
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 20 deletions.
19 changes: 9 additions & 10 deletions dist/android-tv-card.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 9 additions & 10 deletions src/classes/remote-slider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,7 @@ export class RemoteSlider extends BaseRemoteElement {
place-content: center space-evenly;
align-items: center;
position: relative;
height: var(--height);
width: 100%;
border-radius: var(--border-radius);
border: none;
padding: 0px;
box-sizing: border-box;
Expand All @@ -125,25 +123,26 @@ export class RemoteSlider extends BaseRemoteElement {
overflow: hidden;
font-size: inherit;
color: inherit;
--color: var(--primary-text-color);
--height: 50px;
--background: var(--secondary-background-color);
--background-height: 50px;
--border-radius: 25px;
}
.container {
all: inherit;
height: 100%;
overflow: hidden;
height: 50px;
border-radius: var(--border-radius);
--color: var(--primary-text-color);
--background: var(--secondary-background-color);
--background-height: 50px;
--border-radius: 25px;
}
.slider-background {
position: absolute;
width: inherit;
height: inherit;
height: var(--background-height);
background: var(--background);
border-radius: var(--border-radius);
}
.slider,
Expand Down

0 comments on commit 5da5e10

Please sign in to comment.