diff options
author | Yorhel <git@yorhel.nl> | 2021-09-20 10:54:38 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2021-09-20 10:54:40 +0200 |
commit | f8d78b1ced2b98db0aadedfe710b2de1367ae9d0 (patch) | |
tree | 6b42acd73b423cf6b4324efc73659184e1625460 /lib | |
parent | 79466c4ae8890a1885418008d10e9ce9813b51d7 (diff) |
CSS: Switch to 2 or 1 column homepage layout on smaller screens
Fixes (part of) the issue with links not being visible due to the
box being too small.
This is the first time applying CSS grid on VNDB, let's hope even the
more obscure browsers support it by now.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/VNWeb/Misc/HomePage.pm | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/VNWeb/Misc/HomePage.pm b/lib/VNWeb/Misc/HomePage.pm index 64238e1c..0c2b409d 100644 --- a/lib/VNWeb/Misc/HomePage.pm +++ b/lib/VNWeb/Misc/HomePage.pm @@ -252,12 +252,10 @@ TUWF::get qr{/}, sub { }; screens_; }; - div_ class => 'homepage threelayout', sub { + div_ class => 'homepage', sub { div_ \&recent_changes_; div_ \&recent_db_posts_; div_ \&recent_vn_posts_; - }; - div_ class => 'homepage threelayout', sub { div_ sub { reviews_ }; div_ sub { releases_ 0 }; div_ sub { releases_ 1 }; |