Skip to content

Commit

Permalink
Better sync for pop-up custom styles + 1px smaller font sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
Clooos authored Aug 10, 2024
1 parent 233fbe9 commit d3a1cd8
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dist/bubble-card.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions src/cards/button/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ export default `
}
.bubble-name {
font-size: 13px;
font-weight: 600;
}
Expand Down
1 change: 1 addition & 0 deletions src/cards/cover/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ export default `
}
.bubble-name {
font-size: 13px;
margin: 2px 0;
white-space: nowrap;
display: flex;
Expand Down
1 change: 1 addition & 0 deletions src/cards/media-player/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,7 @@ export default `
}
.bubble-name {
font-size: 13px;
margin: 2px 0;
}
Expand Down
3 changes: 2 additions & 1 deletion src/cards/pop-up/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,13 @@ export async function handlePopUp(context) {
return;
}
prepareStructure(context);
changeStyle(context);
//changeStyle(context);
createHeader(context);
if (context.config.entity || context.config.name) {
handleButton(context, context.elements.buttonContainer, context.elements.header);
}
createStructure(context);
changeStyle(context);
}

if (
Expand Down
2 changes: 1 addition & 1 deletion src/cards/pop-up/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export default `
margin-right: 14px;
}
.bubble-name {
font-size: 16px;
font-size: 14px;
font-weight: heavy;
}
.bubble-close-button {
Expand Down
2 changes: 1 addition & 1 deletion src/var/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export let version = 'v2.2.0-beta.2';
export let version = 'v2.2.0-beta.3';

0 comments on commit d3a1cd8

Please sign in to comment.