mirror of
https://github.com/AmanTahiliani/Portfolio.git
synced 2026-08-08 04:06:15 -04:00
Added changes to slider overflow
This commit is contained in:
@@ -10,6 +10,10 @@ td {
|
|||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tr {
|
||||||
|
height: auto;
|
||||||
|
}
|
||||||
|
|
||||||
tr:hover {
|
tr:hover {
|
||||||
background-color: salmon;
|
background-color: salmon;
|
||||||
}
|
}
|
||||||
@@ -18,7 +22,11 @@ tr:hover {
|
|||||||
padding: 30px;
|
padding: 30px;
|
||||||
margin: 40px;
|
margin: 40px;
|
||||||
border: 1px solid white;
|
border: 1px solid white;
|
||||||
|
height: auto;
|
||||||
border-radius: 5em;
|
border-radius: 5em;
|
||||||
|
white-space: normal;
|
||||||
|
overflow: auto;
|
||||||
|
text-overflow: ellipsis;
|
||||||
}
|
}
|
||||||
|
|
||||||
.publication-detail h3 {
|
.publication-detail h3 {
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ export default class SimpleSlider extends Component {
|
|||||||
slidesToScroll: 1,
|
slidesToScroll: 1,
|
||||||
};
|
};
|
||||||
return (
|
return (
|
||||||
<div>
|
<div style={{height:"auto"}}>
|
||||||
<Slider ref={c => (this.slider = c)} {...settings}>
|
<Slider ref={c => (this.slider = c)} {...settings}>
|
||||||
{publicationData.map(({title,authors, publish_date, abstract,link}) =>(
|
{publicationData.map(({title,authors, publish_date, abstract,link}) =>(
|
||||||
<Publication title={title} authors={authors} publish_date={publish_date} abstract={abstract} link={link}/>
|
<Publication title={title} authors={authors} publish_date={publish_date} abstract={abstract} link={link}/>
|
||||||
|
|||||||
Reference in New Issue
Block a user