Skip to content

Commit

Permalink
fix: fixing css
Browse files Browse the repository at this point in the history
  • Loading branch information
FritzHoing committed May 10, 2024
1 parent 4c7adea commit 4864a3f
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 12 deletions.
1 change: 1 addition & 0 deletions src/components/Footer/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@
&.right-items {
width: 50%;
justify-content: flex-end;
padding-right: 5px;

button {
padding: 0 10px;
Expand Down
1 change: 1 addition & 0 deletions src/components/Header/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@

&.right-items {
justify-content: flex-end;
padding-right: 5px;
}
}

Expand Down
6 changes: 0 additions & 6 deletions src/components/ToolMenu/Draw/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,6 @@
border-radius: 0;
border: none;
text-align: left;

&.btn-pressed {
background-color: white;
color: var(--secondaryColor);
font-weight: 500;
}
}

.ant-btn > span {
Expand Down
3 changes: 3 additions & 0 deletions src/components/ToolMenu/LayerTree/index.less
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
.ant-tree.layertree {
.ant-tree-treenode {
width: 100%;
}

.ant-tree-treenode:first-of-type {
padding-top: 5px;
Expand Down
20 changes: 14 additions & 6 deletions src/components/ToolMenu/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,19 @@
align-items: center;
width: 100%;
justify-content: flex-start;
color: var(--primaryColor);
border-color: transparent;

svg {
padding-top: 4px;
width: 25px;
margin-right: 10px;
}
}

span {
flex-grow: 1;
text-align: left;
}
button:hover {
border-color: transparent;
color: var(--secondaryColor);
}
}

Expand Down Expand Up @@ -77,9 +79,11 @@
border: none;
max-height: calc(100vh - var(--headerHeight) - var(--footerHeight) - 32px);
overflow-y: auto;
border-radius: 0px;

.ant-collapse-item {
.ant-collapse-header {
border-radius: 0px;
background-color: #fff;
padding: 6px 40px 6px 16px;

Expand Down Expand Up @@ -117,14 +121,18 @@
font-weight: bolder;
}
}

&.ant-collapse-item {
border-radius: 0px;
}
}
}

button.collapse-btn {
width: 100%;
border: none;
border-radius: 0;
}
border-radius: 0 0 8px 8px;
}

button:hover {
color: var(--secondaryColor);
Expand Down

0 comments on commit 4864a3f

Please sign in to comment.