embed screen style adjustments (#4063)

* restyle and relayout embed screen to account for smaller screen displays.
- address https://github.com/owncast/owncast/issues/3683 to address overflow issues
- address https://github.com/owncast/owncast/issues/4051 to move the name of the stream

* Javascript formatting autofixes

* clean up; restore package lock

* accommodate cases when there's no follow option; put follow form on one line, but wrap if need

* clean up

* separate out follow form into separate standalone component to be used in multiple places

* improve follow error styling; rm defaultProps for Modal to get rid of warning

* improve styling of follow form and components for legibility

* prettyify scss

* prettyify scss again

* one more time

* prettify ant file

* simplify layout, center everything

* just use gap

* tweak and lint

* lint, again

---------

Co-authored-by: Owncast <owncast@owncast.online>
This commit is contained in:
gingervitis
2025-01-05 17:28:35 -08:00
committed by GitHub
parent 4b1a89bb31
commit 87c7571d5c
7 changed files with 270 additions and 261 deletions

View File

@@ -11,6 +11,10 @@ HEADER
BUTTONS
// ------------------------- */
.ant-btn {
font-size: 0.85rem;
}
.ant-btn[disabled] {
background-color: var(--theme-color-components-secondary-button-background-disabled);
color: var(--theme-color-components-secondary-button-text-disabled);
@@ -40,8 +44,6 @@ BUTTONS
}
.ant-btn-primary {
height: 2rem;
font-size: 0.85rem;
border-width: 2px;
border-radius: var(--theme-rounded-corners);
border-color: var(--theme-color-components-primary-button-border);