feat: teklatu nabigazioa konpontzen du
This commit is contained in:
@@ -132,7 +132,6 @@ const IndexPage: React.VFC<PageProps> = ({ location }) => {
|
||||
</MediaQuery>
|
||||
|
||||
<EdukiaWrapper
|
||||
role="button"
|
||||
aria-label={sfeguna.ekitaldi_nagusia.izenburua}
|
||||
className={
|
||||
datesUtils.isToday(new Date(sfeguna.eguna))
|
||||
@@ -178,12 +177,16 @@ const Kartela = styled(GatsbyImage)`
|
||||
height: 100%;
|
||||
`;
|
||||
|
||||
const EdukiaWrapper = styled.div`
|
||||
const EdukiaWrapper = styled.button`
|
||||
display: block;
|
||||
top: 0;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
padding: ${rem(size.small)};
|
||||
|
||||
color: ${colors.zuria};
|
||||
border: none;
|
||||
|
||||
background-color: ${colors.beltza};
|
||||
transition: background-color 0.75s ease;
|
||||
|
||||
@@ -193,6 +196,10 @@ const EdukiaWrapper = styled.div`
|
||||
background-color: ${rgba(colors.beltza, 0.8)};
|
||||
}
|
||||
|
||||
&:focus {
|
||||
outline: 4px solid ${colors.urdina};
|
||||
}
|
||||
|
||||
${media.tablet`
|
||||
position: absolute;
|
||||
`}
|
||||
|
||||
Reference in New Issue
Block a user