Skip to content

Commit

Permalink
fix chattable css and also css in general
Browse files Browse the repository at this point in the history
  • Loading branch information
uuupah committed Dec 2, 2024
1 parent cd7c695 commit 21af826
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 9 deletions.
8 changes: 7 additions & 1 deletion src/_assets/css/chattable.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
#chattable {
border: 0 solid rgba(255, 255, 255, 0);
width: 100%;
height: 720px !important;
height: calc(100vh - 175px) !important;
}

@media all and (max-width: 1100px) {
#chattable {
height: calc(100vh - 350px) !important;
}
}

#top_banner {
Expand Down
20 changes: 12 additions & 8 deletions src/_includes/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,14 @@ footer {
background-color: var(--bg);
}

.page-content {
/* TODO fix this magic number */
min-height: calc(100vh - 95px);
display: flex;
flex-direction: column;
justify-content: flex-start;
}

@media all and (max-width: 1100px) {
body {
flex-direction: column-reverse;
Expand All @@ -252,6 +260,10 @@ footer {
padding-top: 5px;
}

.page-content {
min-height: calc(100vh - 300px);
}

.sidebar-contents {
border-radius: 0;
width: 100%;
Expand Down Expand Up @@ -288,14 +300,6 @@ footer {
}
}

.page-content {
/* TODO fix this magic number */
min-height: calc(100vh - 95px);
display: flex;
flex-direction: column;
justify-content: flex-start;
}

.date-tag {
font-size: smaller;
}
Expand Down

0 comments on commit 21af826

Please sign in to comment.