Sha256: 399e25689b683b36d951975cb56236a9db23af010b33686e5fa41894f6eab9aa

Contents?: true

Size: 821 Bytes

Versions: 13

Compression:

Stored size: 821 Bytes

Contents

@import './../../../../../node_modules/trix/dist/trix.css';

.trix-content.hidden {
  display: block !important;
  overflow: hidden;
  clip-path: inset(0 0 calc(100% - 50px) 0);
  -webkit-mask-image: linear-gradient(to bottom, black 30px, transparent 50px);
  mask-image: linear-gradient(to bottom, black 30px, transparent 50px);
  max-height: 50px;
  min-height: 0px;
}

.trix-content h1 {
  @apply text-xl font-bold mb-2;
}

.trix-content ul {
  @apply list-disc;
}

.trix-content pre {
  @apply text-base;
}

.trix-content ol {
  @apply list-decimal;
}

trix-toolbar {
  .trix-button-row {
    @apply flex-wrap gap-x-5;
  }

  .trix-button-group:not(:first-child) {
    @apply ml-0;
  }
}

/* Hack to remove border from trix when rendered from ActionText */
.trix-content {
  & .trix-content {
    border: none;
  }
}

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
avo-3.17.3 app/assets/stylesheets/css/fields/trix.css
avo-3.17.5.tw4 app/assets/stylesheets/css/fields/trix.css
avo-3.17.4.tw4 app/assets/stylesheets/css/fields/trix.css
avo-3.17.3.tw4 app/assets/stylesheets/css/fields/trix.css
avo-3.17.2.tw4 app/assets/stylesheets/css/fields/trix.css
avo-3.17.2 app/assets/stylesheets/css/fields/trix.css
avo-3.17.1.tw4 app/assets/stylesheets/css/fields/trix.css
avo-3.17.1 app/assets/stylesheets/css/fields/trix.css
avo-3.17.0 app/assets/stylesheets/css/fields/trix.css
avo-3.16.6 app/assets/stylesheets/css/fields/trix.css
avo-3.16.5 app/assets/stylesheets/css/fields/trix.css
avo-3.16.4 app/assets/stylesheets/css/fields/trix.css
avo-3.16.3 app/assets/stylesheets/css/fields/trix.css