Christian Oliff
8885dc2a77
Remove unneeded flexbug workaround ( #40876 )
...
This was only needed for Internet Explorer. Removing it saves a couple of bytes. :-)
REF: https://github.com/philipwalton/flexbugs#flexbug-4
2024-10-02 08:19:55 +03:00
Edwin
8a965cadf8
Fix typo in _grid.scss
( #39387 )
2023-11-10 11:51:55 +01:00
Sebastian Blank
d07d3a60c5
Fix dart-sass deprecation warning ( #39030 )
...
* Fix dart-sass deprecation warning
* Fix wrong percentages
---------
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2023-09-12 13:04:02 -07:00
Marc Wrobel
705d6857ad
Fix typos in code ( #36763 )
...
Shoutout is correct but has been replaced by its more common form : Shout-out (https://www.merriam-webster.com/dictionary/shout-out ).
2022-07-18 13:30:29 -07:00
Mark Otto
acf6ea74a7
Add additional root variables, rename $variable-prefix
to $prefix
( #35981 )
...
* Add additional root variables, rename $variable-prefix to $prefix
- Adds new root CSS variables for border-radius, border-width, border-color, and border-style
- Adds new root CSS variables for heading-color, link-colors, code color, and highlight color
- Replaces most instances of Sass variables (for border-radius, border-color, border-style, and border-width) for CSS variables inside _variables.scss
- Updates $mark-padding to be an even pixel number
- Renames $variable-prefix to $prefix throughout
* Bundlewatch
2022-03-13 10:13:09 -07:00
Michael Sørensen
44ea0d6925
make-col-ready()
: remove the unused $gutter
variable (#34334 )
...
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Co-authored-by: Mark Otto <markd.otto@gmail.com>
2021-11-01 08:59:21 +02:00
Kyle Tsang
a2aa8c5a6e
Add workaround for dart sass compile error ( #35033 )
...
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Co-authored-by: Mark Otto <otto@github.com>
2021-10-05 18:40:44 +03:00
Mark Otto
906a990eb7
Revert "Allow individual grid classes to override .row-cols
( #33621 )" ( #34612 )
...
This reverts commit f2b47e1c8a263f4406255991af9fd55984c22a0e.
2021-07-29 06:29:46 +03:00
Mark Otto
e208774fc1
Clean up a couple CSS Grid issues ( #34572 )
...
- Moves the make-cssgrid() mixin to the grid mixins stylesheet
- Updates the g-start-* classes to start at 1 instead of 0 as 0 is an invalid value (fixes #34399 )
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-07-26 18:45:10 +03:00
Mark Otto
16d5041a76
Fix another Sass division ( #34332 )
...
* Fix another Sass division
* Revert the percentage division in the mixins for accuracy
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-06-22 20:39:13 +03:00
Mark Otto
ed13d01559
Update the divide() function
2021-06-22 20:11:39 +03:00
Mark Otto
bef9ec8898
Fix lingering Sass math ( #34281 )
2021-06-17 19:15:59 +03:00
Mark Otto
543d2219c4
Remove a leftover sass:math module call ( #34280 )
2021-06-17 18:38:54 +03:00
Mark Otto
be17444756
Replace /
division with multiplication and custom divide()
function ( #34245 )
...
* Convert bulk of division to multiplication
* Use custom divide() function instead of Dart Sass math module for greater compatibility
* Apply suggestions from code review
* Fix functions
2021-06-14 09:35:30 -07:00
Anal-Retentive Squirrel Hunter
f2b47e1c8a
Allow individual grid classes to override .row-cols
( #33621 )
2021-06-03 19:18:00 +03:00
CFX
0c56749f13
Add equal column mixin ( #32155 )
2021-04-06 21:45:28 +03:00
Mark Otto
3cf51c6ac9
Add Sass variable for CSS variable prefix ( #31684 )
...
* Add Sass variable for CSS variable prefix
* Update other --bs-* var instances
2020-09-30 08:32:58 +03:00
XhmikosR
c30b6df54b
Update stylelint to v13.7.2 ( #31726 )
2020-09-28 14:57:48 +03:00
XhmikosR
800952cef0
Remove unnecessary nesting selectors
2020-09-15 11:57:36 +03:00
Mark Otto
a5fd5bcf81
Remove flex: 1 0 100% from rows ( #31439 )
...
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-08-06 18:44:29 +03:00
Gaël Poupard
32d18d199c
fix(grid): zero min-width on .col has too much side-effects ( #30979 )
...
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-06-09 21:49:29 +03:00
Gaël Poupard
92a728eae6
Prevent .row
from shrinking in flex container ( #30940 )
2020-06-08 19:47:43 +02:00
Catalin Zalog
338ca83821
grid: checks for $grid-columns > 0
( #30605 )
...
Co-authored-by: Martijn Cuppens <martijn.cuppens@gmail.com>
2020-04-18 11:51:50 +02:00
Catalin Zalog
6b5f055a7d
feat: checks for $grid-row-columns
( #30606 )
2020-04-16 19:15:51 +02:00
Martijn Cuppens
8cdb057111
Add bs-
prefixes to custom properties ( #30591 )
2020-04-15 18:52:16 +02:00
Martijn Cuppens
8414126266
Switch to custom properties to control grid gutter widths ( #30475 )
2020-03-30 15:12:36 +02:00
Martijn Cuppens
fca5e35d13
Add row-cols-auto and responsive variants
2020-03-10 20:30:29 +01:00
Martijn Cuppens
5ac9fe8967
bootstrap-grid.css: Only apply box-sizing: border-box
to the columns instead of using the universal selector
2020-03-10 20:30:29 +01:00
Martijn Cuppens
beefc6f530
Bootstrap 5 grid
2020-03-10 20:30:29 +01:00
Martijn Cuppens
532feab38b
Split grid & containers ( #29146 )
2020-02-03 21:02:53 +01:00
Mark Otto
104385c508
Add make-col-auto mixin ( #29367 )
2019-10-17 09:46:34 +03:00
ysds
ebfeaa4ad1
Allow override default col width
2019-08-30 13:07:27 -07:00
Mark Otto
cc248791b0
Cleanup
...
- Rename and move the variable to variables file
- Move code to the grid file
- Use the mixin to generate our own classes
- Wrap in a grid classes enabled conditional
- Document the mixin
2019-08-30 13:07:27 -07:00
Martijn Cuppens
f5599d0a04
Configurable container padding ( #28554 )
2019-05-05 10:49:23 +03:00
Martijn Cuppens
502b6c8ed6
Remove redundant brackets ( #27768 )
2018-12-14 17:54:44 +01:00
Florian Lacreuse
1dc42a3373
Add missing parameter to grid mixins. ( #27841 )
2018-12-14 18:30:12 +02:00
Martijn Cuppens
4def76c34e
#26975 : remove grid columns min height
2018-08-19 11:13:18 -07:00
XhmikosR
219ba7f2ea
make-col-offset: Remove percentage if it's zero.
2017-10-05 09:42:17 +03:00
XhmikosR
7b766e1ad5
Switch to stylelint. ( #23572 )
2017-10-02 20:34:56 -07:00
XhmikosR
5cec8e0de6
Minor Sass cleanup and consistency changes. ( #23959 )
2017-09-17 08:18:24 +03:00
Mark Otto
fd8c052c67
Restore grid offset classes
...
Fixes #23360 by restoring just the offset class generation to our grid
framework mixins. Also restores the `make-col-offset` mixin.
Docs have been restored to illustrate this behavior and merged with the
newer margin utilities examples.
2017-08-20 11:17:48 -07:00
Mark Otto
bb0cab9f10
move max-width: 100% on .container to the root of the make-container mixin so it's not repeated at compilation ( #22947 )
2017-08-13 14:54:57 -07:00
Chirag Modi
b2712048ce
make changes as per suggestion in #23100
2017-07-18 11:48:59 +05:30
Chirag Modi
a52a1fbb13
remove change which set from variable and make those in container class
2017-07-18 11:44:56 +05:30
Mark Otto
16781be021
drop the mixins
2017-06-30 11:44:09 -07:00
Mark Otto
d30b5b120e
remove unused mixin, fix variable
2017-06-30 09:01:39 -07:00
Mark Otto
b013b987b0
remove grid gutter sass map as it's output css was all jacked up
2017-06-30 09:01:39 -07:00
Mark Otto
7e1497ddb8
Revert simplified grid column styles from #22376
...
The premise for #22376 was that if we removed the `max-width` and `flex` properties, we could use the column classes as `width` utilities. The problem that I didn't remember at the time is that column classes have horizontal `padding` on them. This doesn't work for setting `width`. Perhaps more importantly, this causes #22649—the automatic sizing of columns is broken with the absence of `flex` styles.
/cc @sachinsinghi
2017-05-26 20:16:12 -07:00
Mark Otto
2436ad589c
drop flex and max-width, just use width
2017-04-07 14:22:49 -07:00
Mark Otto
8108c0357a
Drop position relative on container that was added quickly in Alpha 6
2017-03-26 13:23:49 -07:00