diff options
author | 53hornet <atc@53hor.net> | 2021-07-20 15:54:52 -0400 |
---|---|---|
committer | 53hornet <atc@53hor.net> | 2021-07-20 15:54:52 -0400 |
commit | f2e39406302c3b79a608a6f20e058a084401c6eb (patch) | |
tree | 1ca97e56ec6e223bc1d697287c210ca7d8a7219d | |
parent | 3bb51c086f2e8c009ef598b252278b0d96e7aa9a (diff) | |
download | carpentertutoring-f2e39406302c3b79a608a6f20e058a084401c6eb.tar.xz carpentertutoring-f2e39406302c3b79a608a6f20e058a084401c6eb.zip |
fixed modals extending past viewport on mobile
-rw-r--r-- | header.php | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -236,6 +236,11 @@ font-size: 1.5em; } + .modal .card { + max-height: 90%; + max-width: 60%; + } + .modal a, .card a.button { float: right; @@ -246,6 +251,10 @@ justify-content: center; align-items: center; } + + :target.modal .card { + overflow: auto; + } </style> <link rel="preconnect" href="https://fonts.gstatic.com" /> <link href="https://fonts.googleapis.com/css2?family=Architects+Daughter&family=Indie+Flower&family=PT+Sans&display=swap" rel="stylesheet" /> |