This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- At the bottom of your page as usual, insert chart.js so that when html loads the chart is loaded --> | |
<body> | |
<!-- django template block to insert the block if you are using base template --> | |
{% block chart %} | |
{% endblock %} | |
<!-- Scripts required to run the page --> | |
<script type="text/javascript" src="{% static '/habit_app/js/chart.js' %}"></script> | |
</body> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.list_of_cards { | |
/* This is the important part */ | |
flex-wrap: nowrap; /* to make sure in mobile view, cards appear in row */ | |
overflow-x: auto; /* to add scrollbar or not */ | |
align-items: center; | |
-webkit-overflow-scrolling: touch; /* magic for safari */ | |
-ms-overflow-style: -ms-autohiding-scrollbar; | |
} | |
/* Add your own styling to your cards here */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://stackoverflow.com/a/59061253/1454325 | |
export PATH="/Applications/Postgres.app/Contents/Versions/latest/bin:$PATH" | |
# to load virtual environment into the shell | |
source /usr/local/bin/virtualenvwrapper.sh | |
# If you come from bash you might have to change your $PATH. | |
# export PATH=$HOME/bin:/usr/local/bin:$PATH | |
# Path to your oh-my-zsh installation. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- put this at the webflow section called "inside <head> tag on your page settings --> | |
<!-- popup_div is the id of the popup on your page --> | |
<!-- ensure that the popup is hidden by default --> | |
<head> | |
<style> | |
#popup_div[style*='display: block'] { | |
display: flex !important; | |
flex-direction: column; | |
justify-content: center; | |
align-items: center; |