Skip to content

Commit ffd350e

Browse files
fix: buttons view on mobile (#241)
* fix: add @media query which hides details. Hidden: - exercise id - notebook id - number of errors - reduce exercise name font size.
1 parent d455868 commit ffd350e

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

lms/static/my.css

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -793,3 +793,18 @@ code .grader-add .fa {
793793
#user .user-details {
794794
margin-bottom: 5em;
795795
}
796+
797+
@media screen and (max-width: 768px) {
798+
.exercise-id {
799+
display: none;
800+
}
801+
.which-notebook {
802+
display: none;
803+
}
804+
.comments-count {
805+
display: none;
806+
}
807+
.ex-title {
808+
font-size: 1rem;
809+
}
810+
}

0 commit comments

Comments
 (0)