Skip to content

Commit 45bded9

Browse files
committed
updated mobile issue
1 parent 0c3e77b commit 45bded9

File tree

2 files changed

+11
-10
lines changed

2 files changed

+11
-10
lines changed

Temp/index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -195,15 +195,15 @@ <h6>MBBS FRACS</h6>
195195
<div class="SeperatorBackground" id="aboutSep">
196196
<div class="Row">
197197
<div class="SeperatorText">
198-
<h1>Contact Info</h1>
198+
<h1>Contact Infoaaaa</h1>
199199
</div>
200200
</div>
201201
</div>
202202

203203
<div class="container">
204204

205-
<div class="Row toCenter">
206-
<article>
205+
<div class="Row">
206+
<article class="toCenter">
207207
<p><strong>Opening times:</strong></p>
208208
<ul>
209209
<li>
@@ -221,7 +221,7 @@ <h1>Contact Info</h1>
221221
</li>
222222
</ul>
223223
</article>
224-
<article class="Right">
224+
<article class="Right toCenter">
225225
<p><strong>Location:</strong></p>
226226
<p>SJOG Medical Centre<br/>Suite 11A, Thirlmere Road<br/>MOUNT LAWLEY WA 6050 <br/>
227227
Phone: <a href="tel:0893709329">(08) 9370 9329</a></p>

Temp/style.css

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ html, body {
22
margin: 0;
33
padding: 0;
44
font-family: sans-serif;
5+
width: 100%;
56
}
67

78
.Logo {
@@ -136,7 +137,8 @@ nav ul li a:hover {
136137
padding: 0 5em;
137138
}
138139
#aboutSep {
139-
margin-top: 12em;
140+
margin-top: 20em;
141+
height: 100px;
140142
}
141143
footer {
142144
margin-top: 10em;
@@ -150,12 +152,11 @@ nav ul li a:hover {
150152
margin: 0;
151153
}
152154
.Mobile {
153-
display: initial;
155+
display: initial !important;
154156
}
155157
.toCenter {
156-
width: 50%;
157-
text-align: center;
158-
display: block;
159-
margin: auto;
158+
width: 45%;
159+
padding: 0 20px;
160+
display: inline-block;
160161
}
161162
}

0 commit comments

Comments
 (0)