Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improve display on mobile phones #40

Merged
merged 6 commits into from
May 18, 2023
Merged
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 11 additions & 4 deletions spec/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,17 @@
figure { text-align: center; }
table.simple td, table th { border: 1px solid #ddd; padding: 0.2em 0.5em; }
ol ol { list-style-type: lower-latin; }
.grammar td { font-family: monospace;}
.grammar-literal { color: gray;}
code {color: #ff4500;} /* Old W3C Style */
div.abnf {margin-left: 1em;}
.grammar td { font-family: monospace; }
.grammar-literal { color: gray; }
code { color: #ff4500; } /* Old W3C Style */
div.abnf { margin-left: 1em; }
@media (max-width: 850px) {
table { overflow-wrap: anywhere !important; }
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What effect does !important have here?

.simple th, .simple td { font-size: 14px; }
}
@media (max-width: 767px) {
table { word-break: normal; /*max-width: 80vw;*/}
}
</style>
</head>

Expand Down