Skip to content

Commit aa1bcc0

Browse files
Merge pull request #246 from sophie-h/sophie-h/css-fix
Make boxes the same width
2 parents d3ce744 + f2efdb5 commit aa1bcc0

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

_sass/_layout.scss

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -357,10 +357,11 @@ ul.contact {
357357
li {
358358
display: flex;
359359
align-items: stretch;
360+
flex-basis: 13.5em;
360361

361362
a, a:visited {
362363
@extend .box-design;
363-
max-width: 13em;
364+
width: 100%;
364365
margin: 10px;
365366
vertical-align: top;
366367
padding: 1em 0.6em 1.2em;
@@ -385,9 +386,13 @@ ul.contact {
385386
.box-list.post-overview {
386387
margin-top: 1.2em;
387388

389+
li {
390+
flex-basis: 210px;
391+
}
392+
388393
a {
389394
font-size: $base-font-size;
390-
max-width: 165px;
395+
width: 100%;
391396
}
392397

393398
.post-meta {

0 commit comments

Comments
 (0)