Skip to content

Commit 86cb9f5

Browse files
committed
relocated record button
1 parent 44c3d56 commit 86cb9f5

File tree

4 files changed

+16
-5
lines changed

4 files changed

+16
-5
lines changed

src/app/containers/ActionContainer.tsx

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -195,9 +195,9 @@ function ActionContainer(props: ActionContainerProps): JSX.Element {
195195
<i />
196196
</a>
197197
</aside>
198-
<div className='collapse'>Hide</div>
198+
<div className='collapse'>Collapse</div>
199199
</div>
200-
<a type='button' id='recordBtn' onClick={toggleRecord}>
200+
{/* <a type='button' id='recordBtn' onClick={toggleRecord}>
201201
<i />
202202
<div
203203
className='toggle-record'
@@ -206,10 +206,20 @@ function ActionContainer(props: ActionContainerProps): JSX.Element {
206206
Record
207207
</div>
208208
{recordingActions ? <Switch defaultChecked /> : <Switch />}
209-
</a>
209+
</a> */}
210210
</div>
211211
{actionView ? (
212212
<div className='action-button-wrapper'>
213+
<a type='button' id='recordBtn' onClick={toggleRecord}>
214+
<i />
215+
<div
216+
className='toggle-record'
217+
style={{ display: 'flex', alignItems: 'center', textAlign: 'right' }}
218+
>
219+
Record
220+
</div>
221+
{recordingActions ? <Switch defaultChecked /> : <Switch />}
222+
</a>
213223
<SwitchAppDropdown />
214224
<div className='action-component exclude'>
215225
<Button

src/app/styles/components/_componentMap.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,3 @@
4444
fill: $map-root-text;
4545
}
4646

47-

src/app/styles/layout/_actionContainer.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,15 @@
1818
color: #ffb3b3;
1919
height: 100%;
2020
display: flex;
21+
margin-left: 10px;
2122
}
2223

2324
.actionToolContainer {
2425
color: #873b3b;
2526
display: flex;
2627
justify-content: space-between;
2728
align-items: center;
29+
height: 35px;
2830
}
2931

3032
#recordBtn .fa-regular {

src/app/styles/layout/_stateContainer.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@
132132
left: 50%;
133133
transform: translateX(-50%);
134134
width: 65vw;
135-
z-index: 2;
135+
z-index: 1;
136136

137137

138138
@extend %disable-highlight;

0 commit comments

Comments
 (0)