Skip to content

Commit cdb0714

Browse files
committed
bugfix: add styles missing in production build
1 parent dfdc0dc commit cdb0714

3 files changed

+25
-8
lines changed

_posts/2018/2018-08-05-web-application-to-search-for-requirements.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ The application supports a variety of user inputs.
139139
| Text | Contains phrase | `web api` |
140140
| Text | Contains words list | `api,performance` |
141141
| Hierarchy* | | `10.0-1`, `10.0-2.0-1` |
142-
{: align="center" }
142+
{: .m-auto }
143143

144144
Hierarchy is a special notation that establishes the connection between parent/child requirements, so when used, the application should return the list of closest parent/child requirements that are connected.
145145

_posts/2021/2021-10-15-choosing-a-selector-strategy.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ What is a selector? In terms of web automation testing, a selector refers to the
2121
| CSS | `.signIn` |
2222
| XPath | `//button[@id='submitButton']` |
2323
| Link text | `link=Sign In` |
24-
{: align="center" }
24+
{: .m-auto }
2525

2626
When it comes to deciding which selector to use for a project, there are a few key things that are usually considered to make a "good" selector:
2727
1. **Unique**: The selector should be able to uniquely identify an element on the page.

assets/css/jekyll-theme-chirpy.scss

+23-6
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
---
33

44
@import 'main
5-
{%- if jekyll.environment == 'production' -%}
5+
{%- if jekyll.environment == ' production
6+
' -%}
67
.bundle
78
{%- endif -%}
89
';
@@ -26,18 +27,18 @@
2627
* Page styles
2728
*/
2829

29-
// Back-to-top progress bar
30+
// Back-to-top progress bar
3031
#progress-circle {
3132
margin: -1px -1px;
3233
top: -2.75rem;
3334
position: relative;
3435
transform: rotate(-90deg);
3536

3637
circle {
37-
stroke: var(--toc-highlight);
38-
stroke-dasharray: 2 * 3.14 * 20;
39-
stroke-dashoffset: 2 * 3.14 * 20;
40-
transition: stroke-dashoffset 0.2s;
38+
stroke: var(--toc-highlight);
39+
stroke-dasharray: 2 * 3.14 * 20;
40+
stroke-dashoffset: 2 * 3.14 * 20;
41+
transition: stroke-dashoffset 0.2s;
4142
}
4243
}
4344

@@ -50,3 +51,19 @@ div.highlighter-rouge {
5051
max-height: 70vh;
5152
overflow-y: auto;
5253
}
54+
55+
/*
56+
* Bootstrap
57+
*/
58+
59+
.d-flex {
60+
display: flex;
61+
}
62+
63+
.justify-content-center {
64+
justify-content: center;
65+
}
66+
67+
.m-auto {
68+
margin: auto;
69+
}

0 commit comments

Comments
 (0)