Skip to content

Commit

Permalink
fix: trix styles (#3526)
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul-Bob authored Dec 13, 2024
1 parent 95177f4 commit 4de03cc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions app/assets/stylesheets/css/fields/trix.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

.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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import 'trix'
import URI from 'urijs'

import { Controller } from '@hotwired/stimulus'
import { castBoolean } from '../../helpers/cast_boolean'

export default class extends Controller {
static targets = ['editor', 'controller']
Expand Down

0 comments on commit 4de03cc

Please sign in to comment.