CDRH / chesnutt

Rails site code for the Charles W. Chesnutt Archive https://chesnuttarchive.org
0 stars 0 forks source link

display issue in works00069 #66

Open karindalziel opened 3 years ago

karindalziel commented 3 years ago

in https://cdrhdev1.unl.edu/chesnutt/item/ccda.works00069

there is odd formatting int he list of caharacters:

Screen Shot 2021-06-16 at 1 30 37 PM

I took a stab at fixing this from all being on one line, and got it looking like this:

Screen Shot 2021-06-16 at 1 21 24 PM

but my fix broke the display of the list on proof00003

so I am reverting that, and that leaves works00069 looking like this for now:

Screen Shot 2021-06-16 at 1 28 51 PM

I suggest we leave this as is and deal with it after launch.

This is the code I was using: (I added the rend "double_height" which might not be a great rend name anyway)

@media (min-width: $screen-sm-min) {
  .tei_list_rend_simple li {
    display: flex;
    .tei_ab_rend_double_height {
      margin: 0;
      padding: 0;
    }
  }

  .tei_ab_rend_double_height {
    margin-left: .5em;
    display: flex;
    align-items: center;
    height: 3em;
  }
}
kmcmullen commented 3 years ago

I'm fine with the current display, actually. But yes, we can certainly return to this later, if we want to try to get it appearing like this (which, I agree, looks even better): image