Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add padding-top to elem class in order to prevent the labels from overlapping #147

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
_site
node_modules
.ftppass
package-lock.json
Binary file removed templates/_includes/.DS_Store
Binary file not shown.
1 change: 1 addition & 0 deletions templates/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@ h1.content {

.elem {
border: solid #6AC5AC 3px;
padding-top: 1.1em;
position: relative;
}

Expand Down
4 changes: 2 additions & 2 deletions templates/flexbox.html
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ <h2 class="content">{% localize flexbox.fancy.title %}</h2>
{% endhighlight %}

<div class="container elem">

<span class="label">&lt;div class="container"></span>
<section class="elem elem-green initial">
<span class="label">&lt;div class="initial"></span>
<p>
Expand Down Expand Up @@ -224,4 +224,4 @@ <h2 class="content">{% localize flexbox.centering.title %}</h2>
</section>

<span class="endlabel">&lt;/div></span>
</div>
</div>