diff options
| author | jpl | 2017-05-18 14:38:03 +0200 |
|---|---|---|
| committer | jpl | 2017-05-18 14:38:03 +0200 |
| commit | 4d237a3832e46246e98261ac4cb3d56f125727dd (patch) | |
| tree | 9632cdb61919a5f1dc4883f202075d3792706e2b /app | |
| parent | 6d1c591c81f9a000e9e8080bb08701450926250e (diff) | |
| download | chouette-core-4d237a3832e46246e98261ac4cb3d56f125727dd.tar.bz2 | |
RefsĀ #3411: fix CSS on JP dropdown (when item list too short)
Diffstat (limited to 'app')
| -rw-r--r-- | app/assets/stylesheets/components/_buttons.sass | 7 | ||||
| -rw-r--r-- | app/assets/stylesheets/components/_tables.sass | 14 |
2 files changed, 8 insertions, 13 deletions
diff --git a/app/assets/stylesheets/components/_buttons.sass b/app/assets/stylesheets/components/_buttons.sass index fd3561dc8..a59699383 100644 --- a/app/assets/stylesheets/components/_buttons.sass +++ b/app/assets/stylesheets/components/_buttons.sass @@ -181,6 +181,7 @@ table, .table right: auto &:last-child - > .th > .btn-group .dropdown-menu - left: auto - right: 0 + &:not(:first-child) + > .th > .btn-group .dropdown-menu + left: auto + right: 0 diff --git a/app/assets/stylesheets/components/_tables.sass b/app/assets/stylesheets/components/_tables.sass index bc04b49e3..0cd91a1a8 100644 --- a/app/assets/stylesheets/components/_tables.sass +++ b/app/assets/stylesheets/components/_tables.sass @@ -218,8 +218,9 @@ vertical-align: top overflow: auto white-space: nowrap - border-right: 1px solid rgba($grey, 0.5) + // border-right: 1px solid rgba($grey, 0.5) max-width: 100% + min-width: 280px padding-right: 1px .t2e-item @@ -231,20 +232,13 @@ &:first-child border-left: none + &:last-child + border-right: 1px solid rgba($grey, 0.5) .th > *:first-child padding-right: 30px - .td - > div - // > .has_radio - // top: 50% - // margin-top: -10px - // - // &.headlined > .has_radio - // margin-top: calc((1.4em + 6px) * -1) - .th + .td, .td:first-child > .headlined [data-headline] |
