1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-25 09:30:28 +00:00

Merge pull request #231 from pmario/fix-media-queries

adjust media query to remove box-shadow for small screens. thanks @pmario
This commit is contained in:
Jeremy Ruston 2013-11-25 14:19:06 -08:00
commit 0184375ad1

View File

@ -456,6 +456,7 @@ a.tw-tiddlylink-external {
@media (max-width: 770px) {
.tw-tiddler-frame {
padding: 14px 14px 14px 14px;
<<box-shadow none>>
}
.tw-tiddler-info {
@ -761,31 +762,27 @@ canvas.tw-edit-bitmapeditor {
}
@media (max-width: 55em) {
.modal {
position: absolute;
top: 1em;
left: 1em;
right: 1em;
}
.modal {
position: absolute;
top: 1em;
left: 1em;
right: 1em;
}
.modal-body {
overflow-y: auto;
max-height: 400px;
}
.modal-body {
overflow-y: auto;
max-height: 400px;
}
}
@media (min-width: 55em) {
.modal {
position: fixed;
top: 50%;
left: 50%;
width: 560px;
margin: -250px 0 0 -280px;
}
.modal {
position: fixed;
top: 50%;
left: 50%;
width: 560px;
margin: -250px 0 0 -280px;
}
}
.modal-header {