Skip to content

Commit

Permalink
Merge pull request #1763 from terrestris/layout-fixes
Browse files Browse the repository at this point in the history
fix: layout and styling
  • Loading branch information
AmandaTamanda authored Nov 13, 2024
2 parents 1b6b833 + b8ee0df commit dcca4db
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 5 deletions.
8 changes: 7 additions & 1 deletion src/bootstrap.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -775,7 +775,13 @@ const renderApp = async () => {
Color(style['--primaryColor']).darken(0.5).hex() :
style['--primaryColor'],
colorLink: style['--complementaryColor'],
colorLinkHover: style['--secondaryColor']
colorLinkHover: style['--secondaryColor'],
borderRadius: 0
},
components: {
Button: {
primaryShadow: 'none'
}
}
}}
>
Expand Down
1 change: 1 addition & 0 deletions src/components/DocumentationButton/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ export const DocumentationButton: React.FC<DocumentationButtonProps> = ({

return (
<SimpleButton
type='link'
onClick={() => window.open('/gis-docs', '_blank')}
className={finalClassName}
icon={
Expand Down
4 changes: 2 additions & 2 deletions src/components/Header/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

.logo {
height: 100%;
padding: 3px;
padding: 10px;
}

.title {
Expand All @@ -35,7 +35,7 @@

display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
line-clamp: 2;
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/components/ToolMenu/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
.ant-collapse-header {
border-radius: 0px;
background-color: #fff;
padding: 6px 40px 6px 16px;
padding: 6px 15px 6px 16px;

.ant-collapse-header-text span {
padding-left: 10px;
Expand Down
2 changes: 1 addition & 1 deletion src/components/UserMenu/index.less
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.react-geo-userchip {
.userchip {
padding: 6px;

.ant-avatar {
Expand Down

0 comments on commit dcca4db

Please sign in to comment.