IDEAS

Help shape the future of CurseForge!

 

Merged idea

This idea has been merged into another idea. To comment or vote on this idea, please visit CF-I-4030 You cannot read the full file name and mod version on the files tab in the website.

Beta website - unresponsive to screen width Merged

The new beta website is unresponsive to a narrow display, such as if you were viewing it on half of a typical monitor (Windows Key + Right) without any zoom.

Right now the css rules enforce .curseforge-header and .container to have min-width:1272px. This looks great on wide screen, and appears designed to accomodate the sub-nav and other elements that contain lots of padding/margins.


If you used tricks like clamp(__px, __vw, __px) then a lot of elements could respond by shrinking a little without changing the overall look and feel.


For example, the below looks identical on a full-screen monitor but makes everything fit nicely on a half-screen:



/* e11885a218aad80f.css | https://static-beta.curseforge.com/_next/static/css/e11885a218aad80f.css */

.curseforge-header nav .curseforge-logo {
/* width: 264px; */
/* margin-right: 32px; */
width: clamp(220px,25vw,264px);
margin-right: clamp(16px,2vw,32px);
}

.nav-links .nav-link {
/* padding: 2px 16px 0; */
padding: 2px clamp(8px,1vw,16px) 0;
}

.curseforge-header .btn-feedback + .user-actions {
/* margin-left: 12px; */
margin-left: clamp(8px,1vw,12px);
}

.curseforge-header, main {
/* min-width: 1272px; */
min-width: 900px;
}

.curseforge-header {
/* padding: 0 24px; */
padding: 0 clamp(0px,1.5vw,24px);
}

a.btn-primary, a.btn-secondary, button.btn-primary, button.btn-secondary {
/* padding: 8px 16px; */
padding: 8px clamp(8px,1vw,16px);
}

.curseforge-header .user-area::before {
/* margin-right: 8px; */
margin-right: 0;
}

a.btn-single-icon, button.btn-single-icon {
/* width: 36px; */
width: clamp(32px,3vw,36px);
}

.curseforge-header .user-area {
/* margin-left: 16px; */
/* gap: 8px; */
margin-left: clamp(8px,1vw,16px);
gap: clamp(4px,0.5vw,8px);
}

.curseforge-header .user-area .user-avatar {
/* margin-left: 8px; */
margin-left: clamp(0px,.5vw,8px);
}

.sub-nav .sub-nav-inner {
width:clamp(1132px,80%,1224px)
}

.sub-nav .sub-nav-block:not(:first-child) {
margin-left:clamp(46px,6vw,92px);
}

.sub-nav .sub-nav-links-list {
grid-gap:8px clamp(46px,6vw,92px);
gap:8px clamp(46px,6vw,92px);
}

.site-footer .site-footer-nav nav > ul {
/* column-gap: 24px; */
column-gap: clamp(12px,2vw,24px);
}

.site-footer .site-footer-nav .logo {
/* margin-right: 136px; */
margin-right: clamp(64px,8vw,136px);
}

@media (max-width:1224px){
.site-footer .site-footer-nav .logo {
display:none;
}
.site-footer .site-footer-nav nav {
margin:auto;
}
}

@media (max-width:1100px) {
.curseforge-header .btn-feedback svg {
display:none;
}
.curseforge-header .btn-feedback {
font-size:13px;
}
  • Dahk Celes
  • Dec 6 2022
  • Planned

Hold on!
Before you post your idea…

for game or mod suggestions go to our discord

This board is being moderated, if you wish for your idea(s) to go public, please consider the following:

  1. Search for existing ideas

    If your idea already exists, vote for it, this will increase the chances for the idea to become reality. Duplicate ideas only split and lower votes

  2. No tech-support

    This board is for new ideas and feature suggestions, for technical issues or bug reports, visit/contact CurseForge Support

  3. English only

    This ensures that the idea is accessible to a wider audience and makes it easier for others to understand and vote for the idea

  4. No profanity

    Any ideas posted with foul language will not be published and get deleted

  5. Stay on point

    Avoid posting 'lists' of different ideas, we won't be able to address them with a proper status and they will get less votes from others, each idea should have its own post

  6. Please post 1 idea per post

    Posts with multiple ideas can not be merged and prevent us from opening these posts for upvotes