285
edits
Peter wood (talk | contribs) No edit summary |
Peter wood (talk | contribs) No edit summary |
||
| Line 12: | Line 12: | ||
.iframe-container { | .iframe-container { | ||
display: flex; | display: flex; | ||
justify-content: center; /* | justify-content: center; /* Centers horizontally */ | ||
align-items: center; /* | align-items: center; /* Centers vertically */ | ||
width: 100%; /* This is the key. Make the container fill the full width. */ | |||
min-height: 100vh; /* This ensures the container is at least the height of the viewport. */ | |||
} | } | ||