Skip to content

Commit 7b81b52

Browse files
committed
Merge remote-tracking branch 'origin/main' into fixaccessibilitybug/#490-2-Improve-html-structure-of-landing-page
2 parents 3a5f352 + e79f76b commit 7b81b52

File tree

3 files changed

+21
-17
lines changed

3 files changed

+21
-17
lines changed

index.html

Lines changed: 18 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -94,17 +94,19 @@
9494
padding-top: 0;
9595
padding-bottom: 4rem;
9696
}
97-
.info__company {
97+
h1 {
9898
display: flex;
99-
align-items: center;
100-
gap: 3%;
99+
flex-direction: column;
101100
}
102101
.info__company img {
103102
width: 12%;
104103
height: 100%;
105104
margin-top: 4px;
106105
}
107-
.info__company h2 {
106+
.info__company {
107+
display: flex;
108+
align-items: center;
109+
gap: 3%;
108110
font-size: clamp(55px, 9vw, 10rem);
109111
color: var(--accent);
110112
background-image: linear-gradient(69deg, #96d9ab 30%, #ffffff 75%);
@@ -304,7 +306,7 @@
304306
width: 70px;
305307
margin-top: 0;
306308
}
307-
.info__company h2 {
309+
.info__company {
308310
line-height: 1.1;
309311
}
310312
}
@@ -340,15 +342,17 @@
340342
</header>
341343
<main class="main">
342344
<section class="info container">
343-
<div class="info__company">
344-
<img
345-
src="/assets/logo_mongo_modeler_dark_mode.svg"
346-
alt="Mongo Modeler Logo"
347-
/>
348-
<h2 class="info__company">Mongo Modeler</h2>
349-
</div>
350-
<h1 class="info__claim">
351-
A free, online Data Modeling tool for MongoDB.
345+
<h1>
346+
<span class="info__company">
347+
<img
348+
src="/assets/logo_mongo_modeler_dark_mode.svg"
349+
alt="Mongo Modeler Logo"
350+
/>
351+
Mongo Modeler</span
352+
>
353+
<span class="info__claim">
354+
A free, online Data Modeling tool for MongoDB.
355+
</span>
352356
</h1>
353357
<div class="info__detail">
354358
<div class="info__text">

src/common/components/modal-dialog/modal-dialog.component.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,9 @@ export const ModalDialog: React.FC = () => {
6464
aria-labelledby="modal-modal-title"
6565
>
6666
<div className={styles.dialogHeader}>
67-
<h2 className={styles.dialogTitle} id="modal-modal-title">
67+
<h1 className={styles.dialogTitle} id="modal-modal-title">
6868
{modalDialog.title}
69-
</h2>
69+
</h1>
7070
<button
7171
className={styles.dialogButton}
7272
onClick={handleClick}

src/pods/edit-table/components/field.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ interface Props {
3636
}
3737

3838
const INPUT_NAME = 'Field for field ';
39-
const CHECKBOX_PK = 'Checkbox pk for field ';
39+
const CHECKBOX_PK = 'Primary key for field ';
4040
const CHECKBOX_FK = 'Checkbox fk for field ';
4141
const CHECKBOX_ARRAY = 'Checkbox isArray for field ';
4242
const CHECKBOX_ISNN = 'Checkbox isNN for field ';

0 commit comments

Comments
 (0)