Skip to content

Commit

Permalink
fix(panel): tweak styles
Browse files Browse the repository at this point in the history
  • Loading branch information
crimx committed May 15, 2018
1 parent afb92cd commit 14437ef
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 11 deletions.
6 changes: 3 additions & 3 deletions src/components/dictionaries/urban/_style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
}

.dictUrban-Example {
margin: 0 0 8px 0;
margin: 0 0 8px 0.5em;
padding-left: 5px;
color: #444;
border-left: 1px solid #333;
color: #666;
border-left: 1px solid #666;
}

.dictUrban-Gif {
Expand Down
9 changes: 5 additions & 4 deletions src/content/components/DictItem/_style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,6 @@
}

.panel-DictItem_FoldMask {
display: flex;
flex-direction: column;
justify-content: flex-end;
align-items: center;
position: absolute;
left: 0;
bottom: 0;
Expand Down Expand Up @@ -135,7 +131,12 @@
}

.panel-DictItem_FoldMaskArrow {
position: absolute;
z-index: 10;
bottom: 0;
left: 0;
right: 0;
margin: 0 auto;
width: 15px;
height: 15px;
fill: #000;
Expand Down
8 changes: 4 additions & 4 deletions src/content/components/MenuBar/_style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,15 @@
}

.panel-MenuBar_DragArea {
flex: 1.5;
flex-grow: 3;
align-self: stretch;
cursor: move;
user-select: none;
}

.panel-MenuBar_SearchBox {
flex: 1;
width: 5em;
flex-grow: 1;
width: 4em;
padding: 0 5px;
border: 0 none;
outline: 0 none;
Expand All @@ -64,7 +64,7 @@
transition: flex 1s;

&:focus {
flex: 7;
flex-grow: 7;
}
}

Expand Down

0 comments on commit 14437ef

Please sign in to comment.