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

Introduce viewport meta tag and fix content selectability #21

Merged
merged 1 commit into from
Feb 16, 2015
Merged
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
2 changes: 1 addition & 1 deletion _includes/featured_item.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ <h5>{{ item.title }}</h5>

<div class="modal fade" id="featured-modal-content-{{ item.id }}" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="unselectable modal-content">
<div class="modal-content">
<button class="btn pull-right" id="close-modal" data-dismiss="modal" aria-hidden="true"><i class="glyphicon glyphicon-remove-circle"></i></button>
<div class="modal-header">
<img src="{{ item.image }}" class="col-md-6" alt="Lorem Ipsum">
Expand Down
5 changes: 4 additions & 1 deletion _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
<!-- Bootstrap JS -->
<script src="assets/bootstrap/js/bootstrap.min.js"></script>

<!-- viewport meta tag -->
<meta name="viewport" content="width=device-width, initial-scale=1">

<!-- Custom stuff -->
<link href="assets/css/stylesheet.css" rel="stylesheet">
<link href="assets/css/custom.css" rel="stylesheet">
Expand All @@ -37,7 +40,7 @@

{% include menu.html %}

<section class="clearfix unselectable" id="content">
<section class="clearfix" id="content">
{{ content }}
</section><!-- /content -->

Expand Down