Skip to content

Commit 606e39e

Browse files
committed
add github page5
1 parent efbf652 commit 606e39e

3 files changed

Lines changed: 8 additions & 10 deletions

File tree

_config.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,5 @@ title: Algorithm Solutions in Swift
22
description: Curated Swift solutions for LeetCode, HackerRank, AlgoExpert, GeekForGeeks, and Pramp.
33
theme: jekyll-theme-merlot
44
markdown: kramdown
5+
kramdown:
6+
input: GFM

assets/css/style.scss

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -148,30 +148,29 @@ h6,
148148
padding: 1rem 0.8rem;
149149
background: var(--card);
150150
backdrop-filter: blur(2px);
151+
overflow-x: auto;
151152
}
152153

153154
.readme-panel table {
154-
display: block;
155155
width: 100%;
156-
overflow-x: auto;
156+
display: table;
157157
border-collapse: collapse;
158158
border-spacing: 0;
159159
margin: 0.9rem 0 1.4rem;
160+
background: #fff;
160161
}
161162

162163
.readme-panel th,
163164
.readme-panel td {
164-
white-space: nowrap;
165+
white-space: normal;
166+
vertical-align: top;
165167
border: 1px solid #e4ddd1;
166168
padding: 0.45rem 0.55rem;
167169
}
168170

169171
.readme-panel th {
170172
font-family: "Space Grotesk", "Avenir Next", "Segoe UI", sans-serif;
171173
background: #faf6ed;
172-
position: sticky;
173-
top: 0;
174-
z-index: 1;
175174
}
176175

177176
.readme-panel a {

index.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,7 @@ title: Algorithm Solutions in Swift
2525
<a href="https://github.com/boudhayan/Algorithm-Solutions-In-Swift/tree/main/Pramp/">Pramp</a>
2626
</section>
2727

28-
<section class="readme-panel" id="solution-index">
29-
{% capture readme_content %}
28+
<section class="readme-panel" id="solution-index" markdown="1">
3029
{% include_relative README.md %}
31-
{% endcapture %}
32-
{{ readme_content | markdownify }}
3330
</section>
3431
</div>

0 commit comments

Comments
 (0)