aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/client/views/ContextMenu.scss15
-rw-r--r--src/client/views/ContextMenu.tsx2
2 files changed, 9 insertions, 8 deletions
diff --git a/src/client/views/ContextMenu.scss b/src/client/views/ContextMenu.scss
index b12ee3faa..61ae69179 100644
--- a/src/client/views/ContextMenu.scss
+++ b/src/client/views/ContextMenu.scss
@@ -31,8 +31,8 @@
}
.contextMenu-item {
- width: 11vw; //10vw
- height: 2.5vh; //2vh
+ // width: 11vw; //10vw
+ height: 30px; //2vh
background: #DDDDDD;
display: flex; //comment out to allow search icon to be inline with search text
justify-content: left;
@@ -48,9 +48,9 @@
border-style: none;
border-color: $intermediate-color; // rgb(187, 186, 186);
border-bottom-style: solid;
- padding: 10px 0px 10px 0px;
+ // padding: 10px 0px 10px 0px;
white-space: nowrap;
- font-size: 1vw;
+ font-size: 20px;
}
.contextMenu-item:hover {
@@ -59,13 +59,14 @@
}
.contextMenu-description {
- font-size: 1vw;
+ font-size: 20px;
text-align: left;
- width: 8vw;
display: inline; //need this?
}
.icon-background {
background-color: #DDDDDD;
- margin-right: 2px;
+ width: 35px;
+ text-align: center;
+ font-size: 22px;
} \ No newline at end of file
diff --git a/src/client/views/ContextMenu.tsx b/src/client/views/ContextMenu.tsx
index 84c17a642..542d259d6 100644
--- a/src/client/views/ContextMenu.tsx
+++ b/src/client/views/ContextMenu.tsx
@@ -92,7 +92,7 @@ export class ContextMenu extends React.Component {
<span className="icon-background">
<FontAwesomeIcon icon="search" size="lg" />
</span>
- <input className="contextMenu-item" type="text" placeholder="Search . . ." value={this._searchString} onChange={this.onChange} />
+ <input className="contextMenu-item contextMenu-description" type="text" placeholder="Search . . ." value={this._searchString} onChange={this.onChange} />
</span>
{this._items.filter(prop => prop.description.toLowerCase().indexOf(this._searchString.toLowerCase()) !== -1).
map(prop => <ContextMenuItem {...prop} key={prop.description} />)}