<commit_before>$height-navbar: 64px;
$height-navbar-mobile: 56px;
$card-padding: 10px;

.navbar {
  margin-bottom: 0;
}

.map-canvas {
  height: calc(100% - #{$height-navbar-mobile});;
  width: 100vw;
}

.map-settings {
  margin: 0;
  position: absolute;
  right: $card-padding;
  top: #{$height-navbar-mobile + $card-padding};
  z-index: 99;
}

.map-infos {
  left: $card-padding;
  margin: 0;
  position: absolute;
  top: #{$height-navbar-mobile + $card-padding};
  z-index: 99;
  width: 300px;

  & > * {
    display: flex;
    max-height: calc(100vh - #{$height-navbar-mobile + 2*$card-padding});
  }
}

.error-message {
  background-color: #f2dede;
  bottom: $card-padding;
  left: 50vw;
  min-width: 200px;
  position: absolute;
  text-align: center;
  transform: translateX(-50%);
}

@media only screen and (min-width: 600px) {
  .map-canvas {
    height: calc(100% - #{$height-navbar});
  }

  .map-settings {
      top: #{$height-navbar + $card-padding};
  }

  .map-infos {
    top: #{$height-navbar + $card-padding};

    & > * {
      max-height: calc(100vh - #{$height-navbar + 2*$card-padding});
    }
  }
}<commit_msg>Fix CSS for info cards on map. (#212)<commit_after>$height-navbar: 64px;
$card-padding: 10px;

.navbar {
  margin-bottom: 0;
}

.map-canvas {
  height: calc(100% - #{$height-navbar});;
  width: 100vw;
}

.map-settings {
  margin: 0;
  position: absolute;
  right: $card-padding;
  top: #{$height-navbar + $card-padding};
  z-index: 99;
}

.map-infos {
  left: $card-padding;
  margin: 0;
  position: absolute;
  top: #{$height-navbar + $card-padding};
  z-index: 99;
  width: 300px;

  & > * {
    display: flex;
    max-height: calc(100vh - #{$height-navbar + 2*$card-padding});
  }
}

.error-message {
  background-color: #f2dede;
  bottom: $card-padding;
  left: 50vw;
  min-width: 200px;
  position: absolute;
  text-align: center;
  transform: translateX(-50%);
}
{'fraction_non_alphanumeric': 0.18779589689637033, 'fraction_numerical': 0.041557075223566546, 'mean_word_length': 3.1528384279475983, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 6, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1767758', 'n_tokens_mistral': 845, 'n_tokens_neox': 744, 'n_words': 151}