Skip to content

Commit 9ef46e0

Browse files
committed
fix(css): amélioration affichage widget sur écrans de taille moyenne
1 parent 360f3ea commit 9ef46e0

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

widget/widget.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,9 @@ const widgetStyle = `
6464
#chatmdWidget img {
6565
width: 90%;
6666
}
67+
}
68+
@media screen and ((orientation: portrait) and (max-width: 500px)),
69+
screen and ((orientation: landscape) and (max-height: 500px)) {
6770
#chatmdWidget div:nth-of-type(2) {
6871
right: 0px;
6972
padding: 0px;
@@ -78,6 +81,7 @@ const widgetStyle = `
7881
padding: 0px;
7982
}
8083
}
84+
8185
`;
8286

8387
const styleElement = document.createElement("style");

widget/widget.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)