Skip to content

Commit

Permalink
Merge pull request #149 from kshitij01042002/responsive
Browse files Browse the repository at this point in the history
  • Loading branch information
narayan954 committed Dec 28, 2022
2 parents 2c088c2 + cb1d070 commit 94412f7
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
3 changes: 2 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@
</head>
<style id="scrollbar_style"></style>
<body>
<div id="root"></div>
<div id="root">
<script type="module" src="/src/main.jsx"></script>
<script src="https://cdn.jsdelivr.net/npm/darkmode-js@1.5.7/lib/darkmode-js.min.js"></script>
<script src="/src/script.js" type="module"></script>
</div>
</body>
</html>
5 changes: 4 additions & 1 deletion src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
background-color: white;
justify-content: center;
align-items: center;
overflow-x: auto;
}

.app__header__img {
Expand All @@ -24,7 +25,7 @@
border-bottom: 1px solid lightgrey;
display: flex;
justify-content: space-between;
align-items: center;
align-items: center;flex-wrap: wrap;
}

.app__posts {
Expand Down Expand Up @@ -73,6 +74,7 @@
align-items: center;
justify-content: space-between;
padding: 10px;
flex-wrap: wrap;
}

.social__icons__wrapper {
Expand Down Expand Up @@ -103,6 +105,7 @@
display: flex;
margin-top: 10px;
border-top: 1px solid lightgrey;
flex-wrap: wrap;
}

.post__input {
Expand Down
2 changes: 1 addition & 1 deletion src/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const options = {
buttonColorLight: "#fff", // default: '#fff'
saveInCookies: true, // default: true,
label: "🌓", // default: ''
autoMatchOsTheme: false, // default: true
autoMatchOsTheme: true, // default: true
};

const darkmode = new Darkmode(options);
Expand Down

0 comments on commit 94412f7

Please sign in to comment.