diff options
author | Thibaut Girka <thib@sitedethib.com> | 2019-06-12 20:49:56 +0200 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2020-02-22 01:30:26 -0600 |
commit | fbefa2f4fde097872aa5a6ebd7af9a975a59b670 (patch) | |
tree | 6308b4b7c6634093290c3691ca031aa43495d52f /app | |
parent | 2c27a5a5375f0aa61ae9a451f09aa80f358b982f (diff) |
Fix multiple-column padding
Diffstat (limited to 'app')
-rw-r--r-- | app/javascript/flavours/glitch/styles/components/index.scss | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/app/javascript/flavours/glitch/styles/components/index.scss b/app/javascript/flavours/glitch/styles/components/index.scss index 6265345aa..43708a801 100644 --- a/app/javascript/flavours/glitch/styles/components/index.scss +++ b/app/javascript/flavours/glitch/styles/components/index.scss @@ -552,6 +552,42 @@ } } +.column, +.drawer { + flex: 1 1 100%; + overflow: hidden; +} + +@media screen and (min-width: 631px) { + .columns-area { + padding: 0; + } + + .column, + .drawer { + flex: 0 0 auto; + padding: 10px; + padding-left: 5px; + padding-right: 5px; + + &:first-child { + padding-left: 10px; + } + + &:last-child { + padding-right: 10px; + } + } + + .columns-area > div { + .column, + .drawer { + padding-left: 5px; + padding-right: 5px; + } + } +} + .tabs-bar { box-sizing: border-box; display: flex; |