Skip to content

Commit

Permalink
fix solutions section padding (#433)
Browse files Browse the repository at this point in the history
* fix solutions section padding

* add max width to solution description
  • Loading branch information
faissaloux authored Jan 11, 2022
1 parent 7afca3d commit 874d084
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
4 changes: 2 additions & 2 deletions resources/compiled/ignition.js

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion resources/css/utilities/solution.css
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,10 @@
.solution-content-wrapper {
@apply p-12;
@apply overflow-x-auto;
@apply grid;
}

.solution-content {
.solution-description {
@apply max-w-4xl;
}

Expand Down
6 changes: 5 additions & 1 deletion resources/js/components/Solutions/SolutionCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,14 @@
<div
v-if="solution.description"
v-html="markdown(solution.description)"
class="solution-description"
></div>

<div v-if="solution.is_runnable">
<p v-html="markdown(solution.action_description)"></p>
<p
v-html="markdown(solution.action_description)"
class="solution-description"
></p>
<p v-if="canExecuteSolutions === null" class="py-4 text-sm italic">
Loading...
</p>
Expand Down

0 comments on commit 874d084

Please sign in to comment.