Skip to content

Commit

Permalink
Merge pull request #10 from dabigjoe6/overflow_fix
Browse files Browse the repository at this point in the history
Overflow fix
  • Loading branch information
dabigjoe6 authored Jun 22, 2023
2 parents 6cebc78 + 3d07119 commit ef26b52
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 7 deletions.
20 changes: 16 additions & 4 deletions src/index.css
Original file line number Diff line number Diff line change
@@ -1,18 +1,30 @@
@font-face {
font-family: 'TrebuchetMS';
src: local('TrebuchetMS'), url(./fonts/trebuc.ttf) format('ttf');
font-family: "TrebuchetMS";
src: local("TrebuchetMS"), url(./fonts/trebuc.ttf) format("ttf");
/* other formats include: 'woff2', 'truetype, 'opentype',
'embedded-opentype', and 'svg' */
}

body {
margin: 0;
font-family: -apple-system, 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif, "Segoe UI", "Roboto", "Oxygen",
"Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
font-family: -apple-system, "Trebuchet MS", "Lucida Sans Unicode",
"Lucida Grande", "Lucida Sans", Arial, sans-serif, "Segoe UI", "Roboto",
"Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
box-sizing: border-box;
-ms-overflow-style: none;
}

body::-webkit-scrollbar {
display: none;
-ms-overflow-style: none;
}

div::-webkit-scrollbar{
display: none;
-ms-overflow-style: none;
}

code {
Expand Down
5 changes: 2 additions & 3 deletions src/pages/home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ const Container = styled.div`
flex-direction: column;
min-height: 100vh;
box-sizing: border-box;
overflow: scroll;
`;

const SubscriptionsContainer = styled.div`
Expand All @@ -37,8 +36,8 @@ const SubscriptionsContainer = styled.div`
scr`;

const SubscriptionList = styled.div`
max-height: 25rem;
overflow: scroll;
max-height: 25rem;
overflow-y: auto;
`;

const NewSubscribptionButton = styled(Button)`
Expand Down

0 comments on commit ef26b52

Please sign in to comment.