Skip to content
Merged
8 changes: 6 additions & 2 deletions src/renderer/components/ft-prompt/ft-prompt.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
position: fixed;
inset-block-start: 0px;
inset-inline-start: 0px;
inline-size: 100vw;
block-size: 100vh;
inline-size: 100%;
block-size: 100%;
background-color: rgba(0, 0, 0, 0.7);
z-index: 10;
padding: 15px;
Expand All @@ -13,6 +13,10 @@
justify-content: center;
}

.promptCard {
overflow-y: scroll;
}

.promptCard.autosize {
box-sizing: border-box;
margin-block: 0;
Expand Down
29 changes: 27 additions & 2 deletions src/renderer/components/ft-share-button/ft-share-button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,19 @@
font-weight: bold;
margin-block: 4px 8px;
margin-inline: 0;
display: flex;
justify-content: center;
}

.buttons {
display: flex;
flex-direction: column;
max-inline-size: min-content;
min-inline-size: 150px;

.action {
padding: 6px;
white-space: initial;
}
}

Expand Down Expand Up @@ -55,8 +60,6 @@
}

.invidious {
display: flex;
justify-content: center;
letter-spacing: -0.4px;

.invidiousLogo {
Expand Down Expand Up @@ -85,3 +88,25 @@
}
}
}

@media only screen and (max-width: 450px) {
.shareLinks {
grid-auto-flow: row;
margin-inline: auto;
justify-items: center;
max-inline-size: max-content;

.header.invidious {
margin-block-start: 20px;
}

.buttons {
max-inline-size: min-content;
min-inline-size: 180px;
}

.divider {
display: none;
}
}
}
40 changes: 39 additions & 1 deletion src/renderer/views/Channel/Channel.css
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,10 @@
justify-content: space-between;
}

.subscribeButton {
block-size: fit-content;
}

.shareIcon {
align-self: center;
}
Expand All @@ -94,11 +98,14 @@
gap: 32px;
padding-block: .3em;
padding-inline: 0;
flex-direction: column;
flex-wrap: nowrap;
}

.tabs {
display: flex;
flex: 0 1 33%;
flex-wrap: wrap;
}

.tab {
Expand Down Expand Up @@ -187,6 +194,7 @@
.channelInfoTabs {
block-size: auto;
flex-flow: column-reverse;
gap: 0;
}

.channelSearch {
Expand All @@ -195,9 +203,39 @@
}

.tabs {
overflow-x: scroll;
flex: 1 1 0;
flex-wrap: wrap;
}

#communityPanel {
margin-block-start: 1rem;
}
}

@media only screen and (max-width: 400px) {
.channelInfo {
justify-content: center;
gap: 10px;
}

.channelInfoActionsContainer {
flex-direction: column-reverse;
}

.thumbnailContainer {
flex-direction: column;
}

.thumbnailContainer, .channelInfoActionsContainer {
flex-wrap: wrap;
align-items: center;
text-align: center;
gap: 10px;
}
}

@media only screen and (max-width: 260px) {
.channelDetails {
max-inline-size: none;
}
}