Skip to content

Commit

Permalink
Drop the hardcode width of record labels
Browse files Browse the repository at this point in the history
The width is supposed to be controlled by bootstrap's grid classes.

Previously it was overridden by bootstrap's "flex" rule for col-*
classes, e.g.

    .col-3 {
      flex: 0 0 25%;
      max-width: 25%;
    }

As bootstrap 5 updates rules with an additional "width":

    .col-3 {
      flex: 0 0 auto;
      width: 25%;
    }

We need to drop this high-precedence rule.
  • Loading branch information
sunnavy committed Aug 17, 2023
1 parent 54d25ca commit adcad9e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion share/static/css/elevator-light/record.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
.record .record-field .label {
display: inline-block;
width: 8em;
font-weight: bold;
text-align: right;
}
Expand Down

0 comments on commit adcad9e

Please sign in to comment.