Skip to content

Commit

Permalink
Merge pull request #14 from tokyorubykaigi12/terfno/sponsors-design-fix
Browse files Browse the repository at this point in the history
fix layout broken
  • Loading branch information
Terfno authored Nov 11, 2024
2 parents d141d76 + 2a4f1f6 commit fac5d29
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
6 changes: 6 additions & 0 deletions src/components/sponsors/Logo.astro
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,12 @@ const SilverSmallSize = "160px";
height: var(--RubySmallSize);
}
}
@media screen and (width <= 420px) {
.Ruby {
width: var(--GoldSmallSize);
height: var(--GoldSmallSize);
}
}

.Gold {
width: var(--GoldLargeSize);
Expand Down
3 changes: 3 additions & 0 deletions src/components/sponsors/Sponsor.astro
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ const { grade, label, company } = Astro.props;
}
@media screen and (width <= 720px) {
.inner {
flex-direction: column;
align-items: center;
justify-content: center;
flex-wrap: wrap;
}
Expand All @@ -70,6 +72,7 @@ const { grade, label, company } = Astro.props;
@media screen and (720px <= width <= 960px) {
.inner-silver {
flex-direction: row;
align-items: flex-start;
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/components/sponsors/Sponsors.astro
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import LivesenseLogoImage from "./logos/livesense.co.jp.svg";
// Golds
import SmarthrLogoImage from "./logos/SmartHR.svg";
import TimeeLogoImage from "./logos/timee.svg";
import HacomonoLogoImage from "./logos/hacomono.svg";
import AndpadLogoImage from "./logos/andpad.png";
import HacomonoLogoImage from "./logos/hacomono.svg";
// Silvers
import FBCLogoImage from "./logos/FBC.svg";
Expand Down

0 comments on commit fac5d29

Please sign in to comment.