Skip to content

Commit

Permalink
Style links whitin rich text
Browse files Browse the repository at this point in the history
  • Loading branch information
AlanSoto31 committed Sep 3, 2024
1 parent 0476ae8 commit ed93244
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions app/assets/stylesheets/actiontext.css
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,9 @@
padding: 0 !important;
max-width: 100% !important;
}

.trix-content a {
color: #CB0C1C;
font-weight: 500;
text-decoration: underline;
}
4 changes: 2 additions & 2 deletions app/assets/stylesheets/application.tailwind.css
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
@import 'actiontext.css';

@tailwind base;
@tailwind components;
@tailwind utilities;

@import 'actiontext.css';

@layer base {
ul, ol {
@apply block ml-4
Expand Down

0 comments on commit ed93244

Please sign in to comment.