Skip to content

MVC: blank UI space#10375

Open
sopex wants to merge 2 commits into
opnsense:masterfrom
sopex:line
Open

MVC: blank UI space#10375
sopex wants to merge 2 commits into
opnsense:masterfrom
sopex:line

Conversation

@sopex

@sopex sopex commented Jun 3, 2026

Copy link
Copy Markdown
Member

Important notices

Before you submit a pull request, we ask you kindly to acknowledge the following:

Closes: #10150

@fichtner

fichtner commented Jun 3, 2026

Copy link
Copy Markdown
Member

Screenshots please, hard to gauge from here

@sopex

sopex commented Jun 3, 2026

Copy link
Copy Markdown
Member Author

See the ones in the issue for the before

image

@sopex

sopex commented Jun 11, 2026

Copy link
Copy Markdown
Member Author

@swhite2 If you have a moment here too :) Its just the white line above the copyright notice, nothing major.

@swhite2

swhite2 commented Jun 11, 2026

Copy link
Copy Markdown
Member

To be honest I'm unsure where the padding was relevant to begin with or how this would affect custom themes. Maybe @AdSchellevis has an idea?

@AdSchellevis

Copy link
Copy Markdown
Member

Could have been a miscalculation in 49f7da2

The container height should be 100% - 55px if I'm not mistaken, currently its:

height: calc(100% - 62px);

You likely don't want to extend it to 100% as stuff in the container might fall behind the footer in that case.

@sopex

sopex commented Jun 11, 2026

Copy link
Copy Markdown
Member Author

Could have been a miscalculation in 49f7da2

The container height should be 100% - 55px if I'm not mistaken, currently its:

height: calc(100% - 62px);

You likely don't want to extend it to 100% as stuff in the container might fall behind the footer in that case.

It currently doesn't seem to cause any such issues, I have been using it since mid-April, but if 55 is calculated to work in all screens, even better.

@sopex

sopex commented Jun 12, 2026

Copy link
Copy Markdown
Member Author

-55px seems to also fix the issue, so let's go with that to leave some margin as @AdSchellevis suggested

background: #101218;
border: 1px solid #E5E5E5;
}
.content-box-main {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is very peculiar as it wasn't defined anywhere but still being "used":

% git grep content-box-main
src/opnsense/mvc/app/views/OPNsense/CaptivePortal/vouchers.volt:    <div class="content-box-main">
src/opnsense/mvc/app/views/OPNsense/Diagnostics/arp.volt:    <div class="content-box-main">
src/opnsense/mvc/app/views/OPNsense/Diagnostics/log.volt:    <div class="content-box-main">
src/opnsense/mvc/app/views/OPNsense/Diagnostics/ndp.volt:    <div class="content-box-main">
src/opnsense/mvc/app/views/OPNsense/Diagnostics/routes.volt:    <div class="content-box-main">
src/opnsense/mvc/app/views/OPNsense/Diagnostics/systemactivity.volt:    <div class="content-box-main">
src/opnsense/mvc/app/views/OPNsense/TrafficShaper/statistics.volt:        <div class="content-box-main">
src/opnsense/mvc/app/views/OPNsense/Unbound/stats.volt:    <div class="content-box-main">
src/www/index.php:                <div class="content-box-main" style="padding-bottom:0px;">

@sopex sopex Jun 12, 2026

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed, it was deleted on 0e999cc

Keep or delete?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@fichtner Any suggestions here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

MVC: blank UI space

4 participants