Skip to content

Commit

Permalink
Tweak the flex order for small-format devices.
Browse files Browse the repository at this point in the history
  • Loading branch information
martindholmes committed Jan 12, 2025
1 parent aa12efc commit e3bf422
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions docs/doc_chapters.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,12 @@ body.simple{

.tei_front{
flex: 0 1 30vw;

font-size:0.95em;

@media only screen and (max-width: 768px) {
order: 2;
width: 100%;
flex: auto;
}
}

.tei_front > div {
Expand All @@ -39,6 +42,7 @@ div.tei_body{
max-width: 98vw;
width: 98vw;
margin: 0;
order: 1;
}
}

Expand Down

0 comments on commit e3bf422

Please sign in to comment.