Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
SPP 2143 Learning Through Connecting
ltc_website
Commits
080f5eec
Commit
080f5eec
authored
Oct 19, 2021
by
Elisabeth Reuhl
Browse files
Dashboard: fix styling bug that allowed scrolling up/down on the tabs above a tile
parent
3aa85423
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/components/ShowNext/ShowNext.jsx
View file @
080f5eec
...
...
@@ -18,7 +18,7 @@ export const ShowNext = (props) => {
return
(
<
div
style
=
{
{
display
:
"
flex
"
,
width
:
"
100%
"
,
height
:
"
35px
"
,
minHeight
:
"
35px
"
,}
}
>
<
div
className
=
{
classes
.
tabsContainer
}
>
{
labels
&&
<
Tabs
value
=
{
input
[
area
]
}
onChange
=
{
handleChange
}
...
...
src/styles.js
View file @
080f5eec
...
...
@@ -79,18 +79,20 @@ const useStyles = makeStyles(theme => ({
//justifyContent: "space-between",
//alignItems: "center"
//},
tabs
:
{
tabsContainer
:
{
display
:
"
flex
"
,
width
:
"
100%
"
,
height
:
"
35px
"
,
minHeight
:
"
35px
"
,
overflow
:
"
hidden
"
},
tabs
:
{
width
:
"
100%
"
,
//paddingTop: theme.spacing(0.5),
//marginRight: "-5%",
//justifyContent:"space-between",
//alignItems:"center",
overflow
:
"
hidden
"
},
tab
:
{
height
:
"
3
5
px
"
,
minHeight
:
"
3
5
px
"
,
height
:
"
3
0
px
"
,
minHeight
:
"
3
0
px
"
,
borderTopRightRadius
:
"
10px
"
,
borderTopLeftRadius
:
"
10px
"
,
marginRight
:
"
0.5%
"
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment