Improve behavior within embedded iframe.

#3
Files changed (1) hide show
  1. index.html +7 -1
index.html CHANGED
@@ -196,6 +196,12 @@
196
  padding: 4px;
197
  border-radius: 4px;
198
  }
 
 
 
 
 
 
199
  </style>
200
  </head>
201
  <body>
@@ -274,7 +280,7 @@
274
 
275
  const copyButton = document.getElementById("copy-iframe-btn");
276
  copyButton.addEventListener("click", () => {
277
- const iframeCode = `<iframe src="https://emma.eduzs.link" width="400" height="600" frameborder="0"></iframe>`;
278
  navigator.clipboard.writeText(iframeCode).then(() => {
279
  alert("Embed code copied to clipboard!");
280
  });
 
196
  padding: 4px;
197
  border-radius: 4px;
198
  }
199
+
200
+ @media (width <= 300px) {
201
+ .chat-container {
202
+ border-radius: 16px;
203
+ }
204
+ }
205
  </style>
206
  </head>
207
  <body>
 
280
 
281
  const copyButton = document.getElementById("copy-iframe-btn");
282
  copyButton.addEventListener("click", () => {
283
+ const iframeCode = `<iframe src="https://emma.eduzs.link" width="300" height="600" frameborder="0" scrolling="no"></iframe>`;
284
  navigator.clipboard.writeText(iframeCode).then(() => {
285
  alert("Embed code copied to clipboard!");
286
  });