Skip to content

Commit

Permalink
fix: Co-author Network graph size on mobile phone
Browse files Browse the repository at this point in the history
  • Loading branch information
milospp committed Oct 15, 2023
1 parent cb20abe commit 785ca54
Showing 1 changed file with 76 additions and 1 deletion.
77 changes: 76 additions & 1 deletion webapp/src/main/webapp/themes/wilma/css/wilma.css
Original file line number Diff line number Diff line change
Expand Up @@ -2159,13 +2159,88 @@ span.subclassExpandMinus {

#chord {
width: 100%;
float: left !important;
overflow: auto;
}


#chord > svg {
width: 100%;
transform-origin: 0 50%;
-webkit-transform-origin: 0 50%;
-ms-transform-origin: 0 50%;
transform-origin: 0 50%;
}

@media (max-width: 360px) {
#chord > svg {
scale: 0.3;
}

#chord-info-div {
scale: 0.7;
}
}

@media (min-width: 361px) and (max-width: 399px) {
#chord > svg {
scale: 0.4;
}

#chord-info-div {
scale: 0.7;
}
}


@media (min-width: 400px) and (max-width: 449px) {
#chord > svg {
scale: 0.44;
}

#chord-info-div {
scale: 0.7;
}
}



@media (min-width: 450px) and (max-width: 499px) {
#chord > svg {
scale: 0.5;
}

#chord-info-div {
scale: 0.7;
}
}



@media (min-width: 500px) and (max-width: 575px) {
#chord > svg {
scale: 0.55;
}

#chord-info-div {
scale: 0.8;
}
}

@media (min-width: 576px) and (max-width: 767px) {
#chord > svg {
scale: 0.6;
}
}


@media (min-width: 768px) and (max-width: 991px) {
#chord > svg {
scale: 0.8;
}
}



#sparkline-container-full > #publication-count-sparkline-include {
width: 100%;
margin-bottom: 0px;
Expand Down

0 comments on commit 785ca54

Please sign in to comment.