Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

764 B
Raw Blame
.op-uc-code-block
  break-inside: avoid
  display: block
  margin: 0
  padding: 1rem
  overflow-x: auto
  overflow-y: hidden
  background-color: var(--bgColor-muted)
  color: var(--fgColor-muted)
  border: 1px solid var(--borderColor-default)

  > *
    background-color: transparent
    border: none

  @at-root .op-uc-container_editing &
    overflow: visible
    white-space: pre-wrap

  &--language
    margin-top: 0.5rem
    margin-bottom: -0.5rem
    text-align: right
    font-style: italic

.op-uc-code
  font-family: Consolas, "Liberation Mono", Courier, monospace
  font-weight: normal
  color: var(--fgColor-muted)
  background-color: var(--bgColor-muted)
  border: 1px solid var(--borderColor-default)
  padding: 0.125em 0.3125em
  break-inside: avoid