I am trying to override the width of the table that this module adds under /admin/reports/updates/settings for a custom theme. The sticky header style is hard-coded:

<table class="sticky-header" style="position: fixed; top: 0px; width: 595px; left: 500.5px; visibility: visible;">

So are the widths of the headers:

<th style="width: 92px;" class="update-advanced-project">Project</th>
<th style="width: 149px;" class="update-advanced-status">Warn if out of date</th>
<th style="width: 315px;" class="update-advanced-notes">Notes</th>

I managed to override the stick header width by:

table.sticky-header {
  width: 460px !important;
}

...but I had no luck in shrinking the rest of the table. Some help on this one please.

Comments

klonos’s picture

btw... can the notes' input fields be the source of my troubles? Can they be multi-line and how could I set their length?

I see they have a maxlength ="128" setting, but they are actually 315px wide. Could it be that they are somehow picking up the width set for the update-advanced-notes header in the sticky table?

hass’s picture

There are no widths set in theme_update_advanced_settings().

Maybe it's update_advanced.css

.update-advanced-settings .form-select {
  width: 12em;
}
hass’s picture

Status: Active » Fixed

Removing this makes the visual expierence in the form a bit bad... maybe you'd like to override it in your theme.

EDIT: Ups... all based on 7.x, but I guess the code base is the same :-)

klonos’s picture

Status: Fixed » Closed (works as designed)

Yep, sorry for not closing this one before. I've since moved to 7.x and figured which styles I needed to override. Thanx.

PS: this is actually a works-as-designed.