Skip to content

Commit

Permalink
Town6: Icon Links
Browse files Browse the repository at this point in the history
Correct margin and padding if there is no text

TYPE: Feature
LINK: OGC-1943
  • Loading branch information
BreathingFlesh authored Dec 10, 2024
1 parent 7d33b93 commit 471d465
Showing 1 changed file with 16 additions and 11 deletions.
27 changes: 16 additions & 11 deletions src/onegov/town6/theme/styles/homepage.scss
Original file line number Diff line number Diff line change
Expand Up @@ -190,16 +190,6 @@
height: 100%;
}

p {
hyphens: none;
margin-bottom: 0;
padding: 1.5rem;
}

.fa-external-link-alt {
display: none;
}

.icon {
background: $primary-color;
color: $white;
Expand All @@ -226,7 +216,22 @@
display: flex;
font-weight: bold;
padding: 1.5rem;
padding-bottom: 0;
margin-bottom: 0;

&:has(+ p) {
margin-bottom: .5rem;
padding-bottom: 0;
}
}

p {
hyphens: none;
margin-bottom: 0;
padding: 1.5rem;
}

.fa-external-link-alt {
display: none;
}
}

Expand Down

0 comments on commit 471d465

Please sign in to comment.