Skip to content

Commit

Permalink
Adjust where margin ruleset is added, update library version
Browse files Browse the repository at this point in the history
  • Loading branch information
occupant committed Nov 17, 2023
1 parent 71944a8 commit 365dd22
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 28 deletions.
4 changes: 0 additions & 4 deletions css/ubc.columns.css
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,6 @@
}

/* General styles for columns */
.first-child--mt-0> :first-child {
margin-top: 0;
}

@media (max-width: 767px) {

.widget-column-options .first-child--mt-0> :first-child {
Expand Down
4 changes: 4 additions & 0 deletions css/ubc.widget.default.styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@
color: #fff;
}

.first-child--mt-0> :first-child {
margin-top: 0;
}

/* legacy style for columns */
@media (min-width: 960px) {

Expand Down
48 changes: 24 additions & 24 deletions ubc_ckeditor_widgets.libraries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Add all required styles and JS to the public facing site
ubc_ckeditor_widgets.ui:
version: 3.1.16
version: 3.1.17
css:
theme:
css/ubc.widget.default.styles.css: { }
Expand All @@ -27,7 +27,7 @@ ubc_ckeditor_widgets.ui:

# Accordion
ubc_accordion:
version: 3.1.16
version: 3.1.17
css:
theme:
css/ubc.accordion.css: { }
Expand All @@ -37,14 +37,14 @@ ubc_accordion:
- core/ckeditor5

ubc_accordion.admin:
version: 3.1.16
version: 3.1.17
css:
theme:
css/ubc.accordion.admin.css: { }

# Accordion Toggle
ubc_accordion_toggle:
version: 3.1.16
version: 3.1.17
css:
theme:
css/ubc.accordion.toggle.css: { }
Expand All @@ -54,14 +54,14 @@ ubc_accordion_toggle:
- core/ckeditor5

ubc_accordion_toggle.admin:
version: 3.1.16
version: 3.1.17
css:
theme:
css/ubc.accordion.toggle.admin.css: { }

# Card Horizontal
ubc_card_horizontal:
version: 3.1.16
version: 3.1.17
css:
theme:
css/ubc.card.css: { }
Expand All @@ -71,14 +71,14 @@ ubc_card_horizontal:
- core/ckeditor5

ubc_card_horizontal.admin:
version: 3.1.16
version: 3.1.17
css:
theme:
css/ubc.card.admin.css: { }

# Card Vertical One
ubc_card_vertical_one:
version: 3.1.16
version: 3.1.17
css:
theme:
css/ubc.card.css: { }
Expand All @@ -88,14 +88,14 @@ ubc_card_vertical_one:
- core/ckeditor5

ubc_card_vertical_one.admin:
version: 3.1.16
version: 3.1.17
css:
theme:
css/ubc.card.admin.css: { }

# Card Vertical Two
ubc_card_vertical_two:
version: 3.1.16
version: 3.1.17
css:
theme:
css/ubc.card.css: { }
Expand All @@ -105,14 +105,14 @@ ubc_card_vertical_two:
- core/ckeditor5

ubc_card_vertical_two.admin:
version: 3.1.16
version: 3.1.17
css:
theme:
css/ubc.card.admin.css: { }

# Card Vertical Three
ubc_card_vertical_three:
version: 3.1.16
version: 3.1.17
css:
theme:
css/ubc.card.css: { }
Expand All @@ -122,14 +122,14 @@ ubc_card_vertical_three:
- core/ckeditor5

ubc_card_vertical_three.admin:
version: 3.1.16
version: 3.1.17
css:
theme:
css/ubc.card.admin.css: { }

# Color Box
ubc_color_box:
version: 3.1.16
version: 3.1.17
css:
theme:
css/ubc.color.box.css: { }
Expand All @@ -139,14 +139,14 @@ ubc_color_box:
- core/ckeditor5

ubc_color_box.admin:
version: 3.1.16
version: 3.1.17
css:
theme:
css/ubc.color.box.admin.css: { }

# Two columns
ubc_columns_two:
version: 3.1.16
version: 3.1.17
css:
theme:
css/ubc.columns.css: { }
Expand All @@ -156,14 +156,14 @@ ubc_columns_two:
- core/ckeditor5

ubc_columns_two.admin:
version: 3.1.16
version: 3.1.17
css:
theme:
css/ubc.columns.admin.css: { }

# Three columns
ubc_columns_three:
version: 3.1.16
version: 3.1.17
css:
theme:
css/ubc.columns.css: { }
Expand All @@ -173,14 +173,14 @@ ubc_columns_three:
- core/ckeditor5

ubc_columns_three.admin:
version: 3.1.16
version: 3.1.17
css:
theme:
css/ubc.columns.admin.css: { }

# Four columns
ubc_columns_four:
version: 3.1.16
version: 3.1.17
css:
theme:
css/ubc.columns.css: { }
Expand All @@ -190,14 +190,14 @@ ubc_columns_four:
- core/ckeditor5

ubc_columns_four.admin:
version: 3.1.16
version: 3.1.17
css:
theme:
css/ubc.columns.admin.css: { }

# Tables
ubc_table:
version: 3.1.16
version: 3.1.17
css:
theme:
css/ubc.table.css: { }
Expand All @@ -208,14 +208,14 @@ ubc_table:

# Table Cells
ubc_table_cell:
version: 3.1.16
version: 3.1.17
js:
js/build/ubcTableCellClass.js: { preprocess: false, minified: true }
dependencies:
- core/ckeditor5

v4_widgets:
version: 3.1.16
version: 3.1.17
css:
layout:
css/ubc.ckeditor4.widgets.css: {}
Expand Down

0 comments on commit 365dd22

Please sign in to comment.