Skip to content

Commit b759591

Browse files
Fix style and alignment issues for the mobile design.
1 parent a48df42 commit b759591

File tree

5 files changed

+14
-11
lines changed

5 files changed

+14
-11
lines changed

.github/workflows/static.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,4 @@ jobs:
5151
steps:
5252
- name: Deploy to GitHub Pages
5353
id: deployment
54-
uses: actions/deploy-pages@v4
54+
uses: actions/deploy-pages@v4

src/components/home/WhatWeDo/styles.module.css

+7-1
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,15 @@ div .topics_header {
2727

2828
.topics_card {
2929
width: 100%;
30-
padding: var(--ifm-spacing-2xl) var(--ifm-spacing-lg);
30+
padding: var(--ifm-spacing-lg) var(--ifm-spacing-lg);
31+
text-align: justify;
32+
}
33+
34+
.topics_card .p {
35+
padding: var(--ifm-spacing-lg) var(--ifm-spacing-lg);
3136
}
3237

38+
3339
.services_link_desktop {
3440
display: none;
3541
}

src/components/projects/ProjectCard.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export default function ProjectCard({ project }): JSX.Element {
55
const base = `${prefix}${project.name}`
66
return (
77
<div className="container">
8-
<div className="row row--no-gutters horizontally-centered">
8+
<div className="row row--no-gutters">
99
<div
1010
className={"col col--6 col" + " " + styles.project_text}
1111
>

src/components/projects/styles.module.css

+2-6
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,10 @@ div .project_title {
4545
letter-spacing: 0.25px;
4646
text-align: center;
4747
margin-bottom: var(--ifm-spacing-lg);
48-
padding: var(--ifm-spacing-lg) var(--ifm-spacing-2xl);
48+
padding: var(--ifm-spacing-lg) var(--ifm-spacing-xl);
4949
}
5050

51-
.col_project_text p {
51+
.project_text {
5252
background-color: white;
5353
text-align: center;
5454
}
@@ -94,10 +94,6 @@ div .project_title {
9494
padding: var(--ifm-spacing-lg) var(--ifm-spacing-4xl);
9595
}
9696

97-
.header_text p {
98-
text-align: justify;
99-
}
100-
10197
.project_text {
10298
background-color: var(--ifm-color-orange-light);
10399
padding: var(--ifm-spacing-4xl) var(--ifm-spacing-3xl);

src/css/custom.css

+3-2
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@
9292

9393
ul {
9494
padding-left: 0;
95+
margin-left:0;
9596
}
9697

9798
ul.row {
@@ -215,7 +216,7 @@ ul.row {
215216
line-height: 150%;
216217
line-height: 20px;
217218
letter-spacing: 0.25px;
218-
text-align: center;
219+
padding: 0 var(--ifm-spacing-lg)
219220
}
220221

221222
li {
@@ -648,4 +649,4 @@ a.menu__link:active {
648649
list-style-type: none;
649650
padding: none;
650651
width: 100%;
651-
}
652+
}

0 commit comments

Comments
 (0)