Skip to content

Commit

Permalink
fix: fix library title centering weirdly and update ads to be less in…
Browse files Browse the repository at this point in the history
…trusive
  • Loading branch information
vichannnnn committed Feb 16, 2024
1 parent afdc42a commit 6442fc2
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
2 changes: 0 additions & 2 deletions holy-grail-frontend/src/features/Library/Library.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
margin: 48px auto;
}

Expand All @@ -15,5 +14,4 @@
.library-subtitle {
font-size: 1rem;
margin-bottom: 24px;
text-align: center;
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ interface InfoButtonProps {
}

export const InfoButton = ({ isMobile }: InfoButtonProps) => {
const iconButtonTop = isMobile ? '12px' : '4px';
const iconButtonTop = isMobile ? '0px' : '4px';

return (
<Tooltip
Expand Down
3 changes: 2 additions & 1 deletion holy-grail-frontend/src/features/Showcase/IllumeShowcase.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
gap: 16px;
margin-top: 16px;
margin: 24px auto;
}

.illume-showcase-image {
Expand Down
6 changes: 5 additions & 1 deletion holy-grail-frontend/src/features/Showcase/IllumeShowcase.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,11 @@ export const IllumeShowcase = () => {
}, [showcaseRef]);

return (
<div className='illume-container' ref={showcaseRef}>
<div
className='illume-container'
ref={showcaseRef}
style={{ width: isMobile ? '100%' : '60%' }}
>
<div className='illume-showcase-image'>
<a onClick={handleShowcaseClick} style={{ cursor: 'pointer' }}>
<img alt='Illume Showcase here!' src={ADS_IMAGE_URL} width='100%'></img>
Expand Down

0 comments on commit 6442fc2

Please sign in to comment.