owncast/web/components/ui/Footer/Footer.module.scss
janWilejan 2d72935564
change chat from a sidebar to a column (#3113)
* change chat from a sidebar to a column

Using a 2-column layout prevents the chat scrollbar from overlapping the page
scrollbar. Also, it no longer needs to calculate extra padding for elements.

* remove unused Sidebar.tsx

* fix css for chat column

* re-center "Go to last message" button

* main content column always uses maximum height

* lint

* re-hide scrollbars in mainContent on chromium

* fix chat column width when input is over-full

* chat is only fixed-width in desktop

---------

Co-authored-by: janWilejan <>
2023-07-09 14:07:35 -07:00

34 lines
737 B
SCSS

@import '../../../styles/mixins';
.footer {
display: flex;
align-items: center;
flex-flow: row wrap;
justify-content: space-between;
background-color: var(--theme-color-background-header);
color: var(--theme-color-components-text-on-dark);
font-family: var(--theme-text-body-font-family);
padding: 0.6rem var(--footer-padding-x);
font-size: 0.75rem;
font-weight: 400;
border-top: 1px solid rgb(214 211 211 / 50%);
width: 100%;
@include screen(tablet) {
font-size: 10px;
}
a {
color: var(--theme-color-components-text-on-dark);
text-decoration: none;
}
.links {
column-gap: 2rem;
width: auto;
display: flex;
justify-content: space-between;
flex-direction: row;
}
}