Skip to content

Commit 6640150

Browse files
Add import/export buttons and adjust layout accordingly
1 parent 1c7bfe6 commit 6640150

File tree

2 files changed

+15
-4
lines changed

2 files changed

+15
-4
lines changed

app/src/popup/Main.css

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ html, body {
1111
.panel-session-name {
1212
display: flex;
1313
flex-direction: column;
14-
height: 50;
15-
justify-content: center;
16-
margin-top: 15px;
14+
height: 100%;
15+
margin-top: 20px;
16+
justify-content: space-around;
1717
}
1818

1919
a {
@@ -92,7 +92,7 @@ form {
9292
}
9393

9494
.sessions-list-container {
95-
height: 145px;
95+
height: 180px;
9696
width: 250px;
9797
flex-direction: column;
9898
list-style: none;
@@ -140,6 +140,13 @@ form {
140140
width: 25px;
141141
}
142142

143+
.import-export-container {
144+
display: flex;
145+
flex-direction: row;
146+
justify-content: space-around;
147+
align-items: center;
148+
}
149+
143150
textarea:focus, input:focus{
144151
outline: none;
145152
}

app/src/popup/components/Popup.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,10 @@ export class Popup extends React.Component {
6262
icon="reopen"
6363
disabled={!this.state.sessionExists}
6464
/>
65+
<div className="import-export-container">
66+
<ActionButton name="fromOpenButton" text="FROMOPEN" icon="from-file" disabled={false} />
67+
<ActionButton name="toOpenButton" text="TOOPEN" icon="to-file" disabled={false} />
68+
</div>
6569
</div>
6670
</form>
6771
);

0 commit comments

Comments
 (0)