Fixes #752 - Make the TOC responsive for the order page #930

Birleştirildi
max.mehl 2019-05-27 13:56:35 +00:00 :order_toc_small_screen içindeki 1 işlemeyi master ile birleştirdi
Üye
Herhangi bir açıklama sağlanmadı.
vincent 2019-05-25 10:36:22 +00:00 Hackathon1905 kilometre taşına ekledi
Üye

Thank you Vincent! I think the PR fixes the actual issue and should be merged.

However, it does not fix the underlying root of the issue: that our standard CSS does not contain gernal, reusable classes for a table of contents, resulting in a number of pages constructing their individual TOC design. Let's keep in mind that this is soemthing we should change.

Thank you Vincent! I think the PR fixes the actual issue and should be merged. However, it does not fix the underlying root of the issue: that our standard CSS does not contain gernal, reusable classes for a table of contents, resulting in a number of pages constructing their individual TOC design. Let's keep in mind that this is soemthing we should change.
Yazar
Üye

I'd suggest to put this in style.less and make sure every TOC has the #toc id

#toc {
  float: right;
  clear: right;
  border: solid 1px;
  margin: .5em;
  background: rgb(240,240,240);
  width: 30%;
}

@media only screen and (max-width: 600px) {
  div#toc {
    width: 100%;
  }
}

Edit: Created an issue here

I'd suggest to put this in style.less and make sure every TOC has the `#toc` id ```css #toc { float: right; clear: right; border: solid 1px; margin: .5em; background: rgb(240,240,240); width: 30%; } @media only screen and (max-width: 600px) { div#toc { width: 100%; } } ``` Edit: Created an issue [here](https://git.fsfe.org/FSFE/fsfe-website/issues/942)
Üye

In principle I agree with the above CSS, however I think it could be better integrated with some bootstrap features.

In principle I agree with the above CSS, however I think it could be better integrated with some bootstrap features.
Sahibi

@reinhard @vincent @mweimann Would you like to take another look at how to make it more bootstrap-native, or shall I merge for now to make it at least a bit better?

I tend toward coming up with a decent TOC layout for all kind of pages (and update those), so I'd love to have a quite optimal one

@reinhard @vincent @mweimann Would you like to take another look at how to make it more bootstrap-native, or shall I merge for now to make it at least a bit better? I tend toward coming up with a decent TOC layout for all kind of pages (and update those), so I'd love to have a quite optimal one
Yazar
Üye

I think we should merge this and use #942 to explore possibilities for a global css class.

I think we should merge this and use [#942](https://git.fsfe.org/FSFE/fsfe-website/issues/942) to explore possibilities for a global css class.
Üye

I agree with @vincent.

I agree with @vincent.
Sahibi

Fine for me. However, @vincent, could you please undo the changes for the da, fr, sq and tr version, or delete these files? They are currently outdated and should not be made up-to-date by these changes:

$ tools/check-translation-status.sh -a -f order/order.en.xhtml 
Basefile: order/order.en.xhtml ( 2019-05-22 )
  STATUS      LANG    DATE
  --------    ----   ----------
  OUTDATED     da    2017-06-13
  OUTDATED     fr    2017-06-13
  OUTDATED     sq    2017-06-13
  OUTDATED     tr    2018-09-06
  Up-to-date   de    2019-05-22
  Up-to-date   it    2019-05-22
  Up-to-date   nl    2019-05-22
Fine for me. However, @vincent, could you please undo the changes for the da, fr, sq and tr version, or delete these files? They are currently outdated and should not be made up-to-date by these changes: ``` $ tools/check-translation-status.sh -a -f order/order.en.xhtml Basefile: order/order.en.xhtml ( 2019-05-22 ) STATUS LANG DATE -------- ---- ---------- OUTDATED da 2017-06-13 OUTDATED fr 2017-06-13 OUTDATED sq 2017-06-13 OUTDATED tr 2018-09-06 Up-to-date de 2019-05-22 Up-to-date it 2019-05-22 Up-to-date nl 2019-05-22 ```
max.mehl yeni bir 2019-05-27 13:54:37 +00:00 bağımlılığı eklendi
Yazar
Üye

Done!

Done!
Sahibi

Excellent, thanks!

Excellent, thanks!
max.mehl 2019-05-27 13:56:35 +00:00 değişiklik isteğini kapattı
vincent order_toc_small_screen dalı silindi 2019-05-27 13:57:27 +00:00
Bu konuşmaya katılmak için oturum aç.
Herhangi bir açıklama sağlanmadı.