@use "src/styles/variables" as *;

.vm-code-example {
  position: relative;
  display: block;
  padding: $padding-global;
  white-space: pre-wrap;
  border-radius: $border-radius-small;
  background-color: $color-code;
  overflow: auto;
  text-overflow: ellipsis;

  &__copy {
    position: absolute;
    right: 10px;
    top: 10px;
  }
}
