Skip to content

Commit

Permalink
fix: link heading position for ie11
Browse files Browse the repository at this point in the history
  • Loading branch information
atanasster committed Nov 14, 2020
1 parent b8e6700 commit 8e7a950
Showing 1 changed file with 14 additions and 11 deletions.
25 changes: 14 additions & 11 deletions ui/components/src/ThemeContext/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -481,6 +481,10 @@ export const theme: ControlsTheme = {
},
link: {
position: 'absolute',
margin: 'auto',
top: 0,
bottom: 0,
height: '32px',
visibility: 'hidden',
':hover': {
visibility: 'visible',
Expand Down Expand Up @@ -862,7 +866,7 @@ export const theme: ControlsTheme = {
overflowX: 'hidden',
position: 'sticky',
top: '5rem',
maxHeight: '100vh',
maxWidth: '300px',
overflowY: 'auto',
backgroundColor: 'background',
},
Expand Down Expand Up @@ -1067,24 +1071,23 @@ export const theme: ControlsTheme = {
},
appsidebarpage: {
allsidebar: {
display: 'grid',
flex: 1,
minHeight: '100vh',
gridTemplateColumns: ['1fr', '1fr', '300px 1fr 250px'],
display: 'flex',
flexDirection: "row",
flex: '1 0 auto',
position: 'relative',
},
navsidebar: {
display: 'grid',
flex: 1,
display: 'flex',
flexDirection: "row",
flex: '1 0 auto',
minHeight: '100vh',
gridTemplateColumns: ['1fr', '1fr', '300px 1fr'],
position: 'relative',
},
contextsidebar: {
display: 'grid',
flex: 1,
display: 'flex',
flexDirection: "row",
flex: '1 0 auto',
minHeight: '100vh',
gridTemplateColumns: ['1fr', '1fr', '1fr 300px'],
position: 'relative',
},
},
Expand Down

0 comments on commit 8e7a950

Please sign in to comment.