Skip to content

Commit 54915b2

Browse files
authored
Merge pull request #147 from JeffersonBledsoe/border-box-sizing
Set box-sizing to border-box to prevent spilling over container
2 parents e2619fb + 581d288 commit 54915b2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/lg-remote-control.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ class LgRemoteControl extends LitElement {
131131

132132
return html`
133133
<div class="card">
134-
<div class="page" style="--remote-button-color: ${buttonColor}; --remote-text-color: ${textColor}; --remote-color: ${backgroundColor}; --remotewidth: ${remoteWidth}; --main-border-color: ${borderColor}; --main-border-width: ${borderWidth}">
134+
<div class="page" style="box-sizing: border-box; --remote-button-color: ${buttonColor}; --remote-text-color: ${textColor}; --remote-color: ${backgroundColor}; --remotewidth: ${remoteWidth}; --main-border-color: ${borderColor}; --main-border-width: ${borderWidth}">
135135
${this.config.name
136136
? html` <div class="tv_title" style="color:${tv_name_color}" >${this.config.name}</div> `
137137
: ""}

0 commit comments

Comments
 (0)