Skip to content

Commit

Permalink
style: ui improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
rahulyadav-57 committed Oct 24, 2024
1 parent 0872bbd commit 0a7f377
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
5 changes: 4 additions & 1 deletion src/components/workspace/Tabs/Tabs.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@

&:hover {
background-color: #403d3d;
[data-theme='light'] & {
background-color: #f7f7f7;
}
}
&.isDirty {
.closeIcon {
Expand All @@ -92,7 +95,7 @@
width: 8px;
height: 8px;
border-radius: 50%;
background: #fff;
background: var(--text-color);
margin-right: 5px;
position: absolute;
left: 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@
&:hover {
opacity: 1;
color: var(--primary);
background: var(--menu-bg);
// handle for light theme based on global state
&::before {
display: block;
}
Expand Down
1 change: 1 addition & 0 deletions src/styles/global.scss
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ body {
min-height: 100vh;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
overflow-x: hidden;
*::-webkit-scrollbar-track {
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
background-color: #000000;
Expand Down
5 changes: 2 additions & 3 deletions src/styles/lib/form.scss
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
.ant-select {
.ant-select-selector {
background-color: rgba(0, 0, 0, 0.4) !important;
border: 0 !important;
box-shadow: none !important;
[data-theme='light'] & {
background-color: rgba(255, 255, 255, 0.4) !important;
[data-theme='dark'] & {
background-color: rgba(0, 0, 0, 0.4) !important;
}
}
}
Expand Down

0 comments on commit 0a7f377

Please sign in to comment.