перенос заголовков при переполнении
This commit is contained in:
parent
67c61eea79
commit
f7dcf5d16f
@ -264,6 +264,7 @@ export const StartPageViewPublication = () => {
|
|||||||
? "start"
|
? "start"
|
||||||
: "center",
|
: "center",
|
||||||
flexGrow: settings.cfg.startpageType === "centered" ? 0 : 1,
|
flexGrow: settings.cfg.startpageType === "centered" ? 0 : 1,
|
||||||
|
wordBreak: "break-word",
|
||||||
alignItems:
|
alignItems:
|
||||||
settings.cfg.startpageType === "centered"
|
settings.cfg.startpageType === "centered"
|
||||||
? "center"
|
? "center"
|
||||||
@ -411,6 +412,7 @@ export const StartPageViewPublication = () => {
|
|||||||
onClick={onSiteClick}
|
onClick={onSiteClick}
|
||||||
sx={{
|
sx={{
|
||||||
display: "block",
|
display: "block",
|
||||||
|
width: "100%",
|
||||||
marginTop: "10px",
|
marginTop: "10px",
|
||||||
marginLeft:
|
marginLeft:
|
||||||
settings.cfg.startpageType === "expanded" &&
|
settings.cfg.startpageType === "expanded" &&
|
||||||
@ -428,8 +430,11 @@ export const StartPageViewPublication = () => {
|
|||||||
settings.cfg.startpageType === "expanded" &&
|
settings.cfg.startpageType === "expanded" &&
|
||||||
settings.cfg.startpage.position === "center" &&
|
settings.cfg.startpage.position === "center" &&
|
||||||
!isMobile
|
!isMobile
|
||||||
? "end"
|
? "end" : settings.cfg.startpageType === "expanded" &&
|
||||||
: "none",
|
settings.cfg.startpage.position === "center" &&
|
||||||
|
isMobile || settings.cfg.startpageType === "centered" &&
|
||||||
|
isMobile ? "center"
|
||||||
|
: "start",
|
||||||
color: theme.palette.primary.main,
|
color: theme.palette.primary.main,
|
||||||
overflow: "hidden",
|
overflow: "hidden",
|
||||||
textOverflow: "ellipsis",
|
textOverflow: "ellipsis",
|
||||||
|
Loading…
Reference in New Issue
Block a user