Skip to content

Commit

Permalink
fix styling content for lists
Browse files Browse the repository at this point in the history
  • Loading branch information
yayann committed Aug 24, 2021
1 parent afb4595 commit 24dc7e4
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 6 deletions.
2 changes: 1 addition & 1 deletion app/Http/Controllers/PMs/RuleController.php
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ public function edit(Request $request, $client_account_slug, $id)
$rule->content,
[
'p', 'img', 'a', 'span', 'br',
'i', 'strong', 'b', 'u', 's',
'i', 'strong', 'b', 'u', 's', 'em',
'ul', 'ol', 'li',
'blockquote', 'pre',
'h1', 'h2', 'h3', 'h4', 'h5', 'h6',
Expand Down
2 changes: 1 addition & 1 deletion public/css/app.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/js/app.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions public/mix-manifest.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"/js/app.js": "/js/app.js?id=254e44a63ac97d256696",
"/css/app.css": "/css/app.css?id=259b4a0ddd4cd4a9c4d7"
"/js/app.js": "/js/app.js?id=96f3dde3ca760a86b5b5",
"/css/app.css": "/css/app.css?id=9d27aaab33206688bc2a"
}
2 changes: 1 addition & 1 deletion resources/js/Components/PM/Rules/ListView.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div class="bg-white shadow-md my-4 p-3 rounded relative" :data-rule-id="rule.id">
<div class="rule bg-white shadow-md my-4 p-3 rounded relative" :data-rule-id="rule.id">
<div class="ribbon z-0">
<span class="text-xxs text-white font-semibold text-center"
:class="{
Expand Down
12 changes: 12 additions & 0 deletions resources/sass/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,15 @@ button:focus {
.focus\:shadow-outline:focus {
box-shadow: none;
}

.rule {
ol, ul {
list-style: disc;
padding-top: 0;
padding-inline-start: 40px;
}

ol, .ql-indent-1 {
padding-inline-start: 40px;
}
}

0 comments on commit 24dc7e4

Please sign in to comment.