Skip to content

Commit

Permalink
fix(style): fix indentation between elements
Browse files Browse the repository at this point in the history
  • Loading branch information
DudaGod committed May 29, 2020
1 parent 3f3b79e commit dcc7fc8
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
6 changes: 5 additions & 1 deletion lib/static/gui.css
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,11 @@
display: none
}

.controls {
.controls > .controls__item:not(:only-child) {
margin-bottom: 5px;
}

.controls > .controls__item:only-child {
margin-bottom: 10px;
}

Expand Down
13 changes: 8 additions & 5 deletions lib/static/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ main.container {
vertical-align: top;
margin-right: 15px;
margin-bottom: 15px;
font-size: 10px;
}

.rc-tree-select-tree-switcher {
Expand Down Expand Up @@ -127,10 +126,10 @@ main.container {
background: #ffeb9f;
border: 1px solid #cebe7d;
border-radius: 3px;
margin-right: 2px;
padding: 3px 4px 4px;
font-size: 11px;
padding: 4px;
margin: 1px;
font-size: 11px;
line-height: 11px;
}

.rc-tree-select-tree .rc-tree-select-tree-treenode span.rc-tree-select-tree-iconEle {
Expand Down Expand Up @@ -645,7 +644,7 @@ a:active {

.tab-switcher {
display: inline-block;
margin-bottom: 20px;
margin-bottom: 5px;
}

.tab-switcher:before {
Expand Down Expand Up @@ -683,6 +682,10 @@ a:active {
display: none;
}

.details_type_text {
margin-bottom: 10px;
}

.details_type_text .details__content {
margin: 5px 0;
background-color: #f0f2f5;
Expand Down

0 comments on commit dcc7fc8

Please sign in to comment.