Skip to content

Commit 267471c

Browse files
committed
minor layout changes
1 parent 5e27d82 commit 267471c

File tree

4 files changed

+46
-6
lines changed

4 files changed

+46
-6
lines changed

src/app/css/toolstyle.css

Lines changed: 43 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/*----------------------------------------------
33
WebVOWL page
44
----------------------------------------------*/
5-
/*brrr, edge content no zooming brrr << not sure how this will effect the edge contnet */
5+
/*brrr, edge content no zooming brrr << not sure how this will effect the edge content */
66
html{
77
-ms-content-zooming: none;
88
}
@@ -193,13 +193,52 @@ main {
193193
margin: 0;
194194
line-height: 0.7;
195195
text-align: center;
196-
font-size: 3vmin;
196+
font-size: 24px;
197+
197198
}
198199
#logo h2 span {
199200
color: #34495E;
200-
font-size: 2vmin;
201+
/*font-size: min(2vmin, 24px);*/
202+
font-size: 16px;
203+
}
204+
205+
206+
207+
@media screen and (max-device-height: 800px){
208+
#logo h2 {
209+
font-size: calc(8px + 1.0vmin);
210+
}
211+
#logo h2 span {
212+
font-size: calc(3px + 1.0vmin);
213+
}
214+
}
215+
@media screen and (max-height: 800px){
216+
#logo h2 {
217+
font-size: calc(8px + 1.0vmin);
218+
}
219+
#logo h2 span {
220+
font-size: calc(3px + 1.0vmin);
221+
}
222+
}
223+
201224

225+
@media screen and (max-device-width: 1200px){
226+
#logo h2 {
227+
font-size: calc(8px + 1.0vmin);
228+
}
229+
#logo h2 span {
230+
font-size: calc(3px + 1.0vmin);
231+
}
202232
}
233+
@media screen and (max-width: 1200px){
234+
#logo h2 {
235+
font-size: calc(8px + 1.0vmin);
236+
}
237+
#logo h2 span {
238+
font-size: calc(3px + 1.0vmin);
239+
}
240+
}
241+
203242
.checkboxContainer input, .checkboxContainer label {
204243
vertical-align: middle;
205244
}
@@ -703,7 +742,7 @@ main {
703742
/*Font-color Style for menu entries */
704743
#menuElementContainer >li > a {
705744
color : #fff;
706-
padding: 12px 8px;
745+
padding: 12px 12px;
707746

708747
}
709748
#menuElementContainer >li > input {

src/app/js/menu/modeMenu.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ module.exports = function (graph) {
6565
var isEnabled = moduleCheckbox.property("checked");
6666
onChangeFunc(isEnabled);
6767
if (updateLvl>0){
68-
// graph.updateLabelWidthToDynamic(onChangeFunc);
6968
graph.lazyRefresh(); // maybe to much of an update
7069
}
7170
});

src/webvowl/js/modules/compactNotationSwitch.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
*
44
* @returns {{}}
55
*/
6+
7+
68
module.exports = function (graph) {
79

810
var DEFAULT_STATE = false;

src/webvowl/js/options.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ module.exports = function () {
3333
graphObject,
3434
zoomSlider,
3535
rectangularRep=false,
36-
scaleNodesByIndividuals = false;
36+
scaleNodesByIndividuals = true;
3737

3838

3939

0 commit comments

Comments
 (0)