div#issue-changesets {
  clear: right;
}

div#issue-commits {
  float: right;
  width: 40%;
  margin: 1em 2em 2em 1em;
  position: relative;
  z-index: 10;
  background: white;
  box-shadow: 0px 1px 5px #888;
  padding: 1.5em;
}

@media screen and (max-width: 899px) {
  div#issue-commits {
    float: none;
    width: auto;
    margin-left: 0;
    padding-left: 0;
    margin-bottom: 2em;
  }
}

.commit {
  padding: 5px 0 5px 30px;
  border-top: solid 1px #ddd;
  background-repeat: no-repeat;
  background-size: 20px 20px;
  background-position: 2px 50%;
}

.commit-gitea {
  background-image: url("/plugin_assets/redmine_commit_links/images/gitea.svg");
}

.commit-github {
  background-image: url("/plugin_assets/redmine_commit_links/images/github.svg");
}

.commit-gitlab {
  background-image: url("/plugin_assets/redmine_commit_links/images/gitlab.svg");
}

.commit:last-child {
  border-bottom: solid 1px #ddd;
}

.commit-id {
  display: block;
  color: #444;
  text-overflow: ellipsis;
  overflow: hidden;
}

.commit-id a {
  text-overflow: ellipsis;
  overflow: hidden;
}

.commit a {
  display: block;
  font-weight: bold;
  margin: 4px 0;
}

.commit-branch {
  display: inline-block;
  background-color: #5aa51d;
  color: #fff;
  font-weight: bold;
  padding: 2px 5px;
  border-radius: 2px;
}

.commit-by-line {
  display: block;
  color: #888;
}

.commit-author {
  color: #444;
}
