electerious / electerious/basicGrid

Larger size column offsets can't be zero when a smaller size offset is greater than zero

オープン
#12 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
SCSS
スター
57
フォーク
7
PR マージ指標
30日以内にマージされた PR はありません

説明

Columns with `small-offset-x` and `large-offset-0` or `medium-offset-0` don't seem to work. The zeroed out offsets (if set to greater than zero it functions as expected) just inherit the value of the `small-offset-x` for the larger breakpoints. This seems to be because of the way the `margin-left` value is calculated as a percentage.

~~Adding this as an override for those two classes specifically seems to fix the issue:~~ Never mind this seems to override the small offset at the small size. :(
```css
.large-offset-0, .medium-offset-0 {
margin-left: 0 !important;
}
```

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。