Skip to content
Snippets Groups Projects
Commit 2807aa00 authored by Julian's avatar Julian
Browse files

Fix breakpoints for responsive design

parent 89e5cf76
No related branches found
No related tags found
1 merge request!88Resolve "Check (responsive) design"
Pipeline #3612 passed
...@@ -13,3 +13,16 @@ table a.tr-link { ...@@ -13,3 +13,16 @@ table a.tr-link {
flex-grow: 100; flex-grow: 100;
text-align: right!important; text-align: right!important;
} }
@media only screen and (min-width: 1201px) {
.hide-on-extra-large-only {
display: none;
}
}
@media only screen and (max-width: 1200px) {
.show-on-extra-large {
display: none;
}
}
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
<div class="col s12 l7"> <div class="col s12 l7">
{% regroup lesson_periods by period.get_weekday_display as periods_by_day %} {% regroup lesson_periods by period.get_weekday_display as periods_by_day %}
{% for weekday, periods in periods_by_day %} {% for weekday, periods in periods_by_day %}
<div class="card hide-on-med-and-down"> <div class="card show-on-extra-large">
<div class="card-content"> <div class="card-content">
{% weekday_to_date week periods.0.period.weekday as current_date %} {% weekday_to_date week periods.0.period.weekday as current_date %}
<span class="card-title"> <span class="card-title">
...@@ -106,7 +106,7 @@ ...@@ -106,7 +106,7 @@
</table> </table>
</div> </div>
</div> </div>
<ul class="collapsible hide-on-large-only"> <ul class="collapsible hide-on-extra-large-only">
<li class=""> <li class="">
{% weekday_to_date week periods.0.period.weekday as current_date %} {% weekday_to_date week periods.0.period.weekday as current_date %}
<div class="collapsible-header flow-text"> <div class="collapsible-header flow-text">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment