Show hint under toolbar (#783)
This commit is contained in:
parent
626c99939e
commit
949c3841ea
@ -1,8 +1,12 @@
|
|||||||
.HintViewer {
|
.HintViewer {
|
||||||
position: absolute;
|
background-color: rgba(255, 255, 255, 0.88);
|
||||||
left: 0.5em;
|
color: #868e96; /* OC: GRAY 6*/
|
||||||
bottom: 0.5em;
|
|
||||||
font-size: 0.8rem;
|
font-size: 0.8rem;
|
||||||
|
left: 50%;
|
||||||
|
pointer-events: none;
|
||||||
|
position: absolute;
|
||||||
|
top: 54px;
|
||||||
|
transform: translateX(calc(-50% - 16px)); /* 16px is half of lock icon */
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 600px), (max-height: 500px) and (max-width: 1000px) {
|
@media (max-width: 600px), (max-height: 500px) and (max-width: 1000px) {
|
||||||
|
@ -518,6 +518,12 @@ const LayerUI = React.memo(
|
|||||||
) : (
|
) : (
|
||||||
<>
|
<>
|
||||||
<FixedSideContainer side="top">
|
<FixedSideContainer side="top">
|
||||||
|
<HintViewer
|
||||||
|
elementType={appState.elementType}
|
||||||
|
multiMode={appState.multiElement !== null}
|
||||||
|
isResizing={appState.isResizing}
|
||||||
|
elements={elements}
|
||||||
|
/>
|
||||||
<div className="App-menu App-menu_top">
|
<div className="App-menu App-menu_top">
|
||||||
<Stack.Col gap={4} align="end">
|
<Stack.Col gap={4} align="end">
|
||||||
<section
|
<section
|
||||||
@ -578,12 +584,6 @@ const LayerUI = React.memo(
|
|||||||
</div>
|
</div>
|
||||||
</FixedSideContainer>
|
</FixedSideContainer>
|
||||||
<footer role="contentinfo">
|
<footer role="contentinfo">
|
||||||
<HintViewer
|
|
||||||
elementType={appState.elementType}
|
|
||||||
multiMode={appState.multiElement !== null}
|
|
||||||
isResizing={appState.isResizing}
|
|
||||||
elements={elements}
|
|
||||||
/>
|
|
||||||
<LanguageList
|
<LanguageList
|
||||||
onChange={lng => {
|
onChange={lng => {
|
||||||
setLanguage(lng);
|
setLanguage(lng);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user