Skip to content

Commit

Permalink
fix: make items in toolbars and navigation use the align-items: flex-…
Browse files Browse the repository at this point in the history
…start strategy and tooltips in the same containers relate to the items (#1984)
  • Loading branch information
Dalneberg authored Apr 9, 2024
1 parent de2d006 commit 8930b3c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
8 changes: 8 additions & 0 deletions scss/_viewer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,14 @@
margin-top: .5rem;
}

.o-navigation button {
position: relative;
}

.o-maptools button {
position: relative;
}

.o-footer {
background-color: $black;
background-color: rgba(0, 0, 0, 0.8);
Expand Down
4 changes: 2 additions & 2 deletions src/components/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ export default function Main(options = {}) {
} = options;

const cls = `${clsSettings} o-main transparent relative flex column grow transparent height-full no-margin`.trim();
const navigation = El({ cls: 'o-navigation flex column relative transparent spacing-vertical-small' });
const mapTools = El({ cls: 'o-maptools flex column relative transparent spacing-vertical-small' });
const navigation = El({ cls: 'o-navigation flex column relative transparent spacing-vertical-small align-start' });
const mapTools = El({ cls: 'o-maptools flex column relative transparent spacing-vertical-small align-start' });
const miscTools = El({ cls: 'o-misc flex column relative transparent spacing-vertical-small' });
const bottomTools = El({ cls: 'o-tools-bottom absolute transparent bottom-left width-full no-margin' });

Expand Down

0 comments on commit 8930b3c

Please sign in to comment.