fix: renderFooter styling (#5962)
This commit is contained in:
parent
a1dcd6d984
commit
0111ca2050
@ -85,6 +85,10 @@
|
|||||||
& > * {
|
& > * {
|
||||||
pointer-events: all;
|
pointer-events: all;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
display: flex;
|
||||||
|
width: 100%;
|
||||||
|
justify-content: flex-start;
|
||||||
}
|
}
|
||||||
.layer-ui__wrapper__footer-left,
|
.layer-ui__wrapper__footer-left,
|
||||||
.layer-ui__wrapper__footer-right,
|
.layer-ui__wrapper__footer-right,
|
||||||
|
@ -4,9 +4,8 @@
|
|||||||
&.theme--dark {
|
&.theme--dark {
|
||||||
--color-primary-contrast-offset: #726dff; // to offset Chubb illusion
|
--color-primary-contrast-offset: #726dff; // to offset Chubb illusion
|
||||||
}
|
}
|
||||||
.layer-ui__wrapper__footer-center {
|
.layer-ui__wrapper .layer-ui__wrapper__footer-center {
|
||||||
display: flex;
|
justify-content: flex-end;
|
||||||
justify-content: space-between;
|
|
||||||
margin-top: auto;
|
margin-top: auto;
|
||||||
margin-bottom: auto;
|
margin-bottom: auto;
|
||||||
margin-inline-start: auto;
|
margin-inline-start: auto;
|
||||||
|
@ -66,10 +66,16 @@
|
|||||||
button.custom-element {
|
button.custom-element {
|
||||||
width: 2rem;
|
width: 2rem;
|
||||||
height: 2rem;
|
height: 2rem;
|
||||||
margin: 0.4rem;
|
margin: 0 8px;
|
||||||
margin-left: -10px;
|
|
||||||
}
|
}
|
||||||
.layer-ui__wrapper__footer-center {
|
|
||||||
display: flex;
|
.custom-footer,
|
||||||
|
.custom-element {
|
||||||
|
padding: 0.1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
&.excalidraw-container .layer-ui__wrapper .layer-ui__wrapper__footer-center {
|
||||||
|
// Remove once we stop importing langauge list from excalidraw app
|
||||||
|
justify-content: flex-start;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -192,7 +192,10 @@ export default function App() {
|
|||||||
>
|
>
|
||||||
{COMMENT_SVG}
|
{COMMENT_SVG}
|
||||||
</button>
|
</button>
|
||||||
<button onClick={() => alert("This is dummy footer")}>
|
<button
|
||||||
|
className="custom-footer"
|
||||||
|
onClick={() => alert("This is dummy footer")}
|
||||||
|
>
|
||||||
{" "}
|
{" "}
|
||||||
custom footer{" "}
|
custom footer{" "}
|
||||||
</button>
|
</button>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user