💄 embed improvements

This commit is contained in:
DrMaxNix 2024-06-09 21:32:43 +02:00
parent 0aeb867502
commit 309ac7c8db
2 changed files with 6 additions and 2 deletions

View File

@ -6,5 +6,5 @@ A simple hub for relevant THI student links
### Use as Embed ### Use as Embed
The quicklink buttons can be embedded into external tools like this: The quicklink buttons can be embedded into external tools like this:
```html ```html
<iframe style="width: 100%; min-height: 300px;" src="http://thi-hub.de/en/embed" scrolling="no"></iframe> <iframe style="width: 100%; min-height: 190px;" src="https://thi-hub.de/en/embed" scrolling="no" frameBorder="0"></iframe>
``` ```

View File

@ -160,7 +160,8 @@ button:focus {
text-align: center; text-align: center;
} }
.page-container.sparse .page { .page-container.sparse .page {
padding: 2rem; max-width: 100vw;
padding: 0rem;
} }
@media only screen and (max-width: 1600px) { @media only screen and (max-width: 1600px) {
.page { .page {
@ -249,6 +250,9 @@ button:focus {
padding: 1rem 2rem; padding: 1rem 2rem;
} }
.page-container.sparse .section > .content {
padding: 1rem;
}
.section > .content.rows { .section > .content.rows {
flex-direction: row; flex-direction: row;
flex-wrap: wrap; flex-wrap: wrap;