Skip to content

Commit d8e1250

Browse files
authored
Small design fixes (#209)
* Fix overflow / remove horizontal scrollbar Signed-off-by: Piotr Płaczek <[email protected]> * Add shadow to blog title card Signed-off-by: Piotr Płaczek <[email protected]> * Move blog post title to header Signed-off-by: Piotr Płaczek <[email protected]> * Fix card title vertical centering Signed-off-by: Piotr Płaczek <[email protected]> * Add missing full stops Signed-off-by: Piotr Płaczek <[email protected]> * Remove invalid markdown references Signed-off-by: Piotr Płaczek <[email protected]> * correct footnote Signed-off-by: Piotr Płaczek <[email protected]> * Revert "Add missing full stops" This reverts commit 19cc903. Signed-off-by: Piotr Płaczek <[email protected]> --------- Signed-off-by: Piotr Płaczek <[email protected]>
1 parent c4e07b0 commit d8e1250

File tree

4 files changed

+18
-6
lines changed

4 files changed

+18
-6
lines changed

_layouts/blog.html

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
---
44
<div class="row align-items-start justify-content-center my-5">
55
<div class="col-lg-3 mb-5" role="complementary" aria-labelledby="page-title">
6-
<div class="card px-2 mx-2">
6+
<div class="card shadow px-2 mx-2">
77
<div class="card-body">
88
<h1 class="fs-3" class="card-title" id="page-title">{{ page.title }}</h1>
99
<div class="container g-0 mt-4">
@@ -34,12 +34,14 @@ <h1 class="fs-3" class="card-title" id="page-title">{{ page.title }}</h1>
3434
{% else %}
3535
<div class="col-md align-self-center">
3636
{% endif %}
37-
<div class="card-body mx-3 my-2">
37+
<div class="card-header">
3838
<h2 class="card-title fs-4">
39-
<a class="page-link" href="{{ post.url | absolute_url }}">
39+
<a href="{{ post.url | absolute_url }}">
4040
{{ post.title | escape }}
4141
</a>
4242
</h2>
43+
</div>
44+
<div class="card-body mx-3 my-2">
4345
<p class="card-text">{{ post.excerpt | markdownify }}</p>
4446
<p class="card-text text-end"><small class="text-secondary">{{ post.date | date: date_format }}</small></p>
4547
</div>

_layouts/default.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
{% seo %}
1616
{% feed_meta %}
1717
</head>
18-
<body class="d-flex flex-column min-vh-100" data-bs-theme="light">
18+
<body class="d-flex flex-column min-vh-100 default-layout" data-bs-theme="light">
1919
{% if jekyll.environment == "development" %}
2020
<div class="dev-watermark">Development Mode</div>
2121
{% endif %}

_sass/kroxylicious.scss

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,4 +343,14 @@ b.conum * {
343343
background-size:contain;
344344
border: none;
345345
opacity: 0;
346-
}
346+
}
347+
348+
.default-layout > .container-fluid.px-0 > .row {
349+
margin-left: 0;
350+
margin-right: 0;
351+
}
352+
353+
.card-title {
354+
margin-top: calc(var(--#{$prefix}card-title-spacer-y) / 2);
355+
margin-bottom: calc(var(--#{$prefix}card-title-spacer-y) / 2);
356+
}

_use_cases/schema_validation_and_enforecement.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ even if producing applications are misconfigured.
6868

6969
The filter currently supports two modes of operation:
7070

71-
1. Schema validation[^3] validates the content of the record against a schema. Use this for topics which have an entry in
71+
1. Schema validation[^1] validates the content of the record against a schema. Use this for topics which have an entry in
7272
the Schema Registry.
7373
2. SyntacticallyCorrectJson validation ensures the producer is producing messages that contain syntactically valid JSON.
7474
Use for topics which do not have registered schemas.

0 commit comments

Comments
 (0)