Skip to content

Commit

Permalink
Fix: Border radius of top left and right cards
Browse files Browse the repository at this point in the history
  • Loading branch information
marc-farre committed Nov 7, 2024
1 parent 6afea14 commit 980b2ee
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 13 deletions.
1 change: 1 addition & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Unreleased
- Chg: "Hide the top and bottom menus on scroll down" and "Hide the text of the bottom menu buttons" features are now disabled by default
- Fix: Bottom menu on mobile: when "Hide the text of the bottom menu buttons" is enabled, long texts are truncated
- Enh: use `--hh-ct-font-size` CSS variable for buttons
- Fix: Border radius of top left and right cards

2.1.0 (October 18, 2024)
--------------------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
--info-lighten-25
--info-lighten-30
--info-lighten-40
--info-lighten-45
--info-lighten-5
--info-lighten-50
--info-lighten-8
Expand Down
2 changes: 1 addition & 1 deletion themes/Clean/css/theme.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/Clean/css/theme.css.map

Large diffs are not rendered by default.

25 changes: 15 additions & 10 deletions themes/Clean/less/humhub/cards.less
Original file line number Diff line number Diff line change
@@ -1,13 +1,18 @@
.container-cards .card {
.card-header .card-image-link {
border: none;
}
.card-header .card-image-link {
border: none;
}

.card-panel {
border-width: var(--hh-ct-panel-border-width);
border-style: var(--hh-ct-panel-border-style);
border-color: var(--hh-ct-panel-border-color);
border-radius: var(--hh-ct-panel-border-radius);
box-shadow: var(--hh-ct-panel-box-shadow);
}
.card-panel {
border-width: var(--hh-ct-panel-border-width);
border-style: var(--hh-ct-panel-border-style);
border-color: var(--hh-ct-panel-border-color);
border-radius: var(--hh-ct-panel-border-radius);
box-shadow: var(--hh-ct-panel-box-shadow);
}

.card-bg-image {
border-top-left-radius: var(--hh-ct-panel-border-radius);
border-top-right-radius: var(--hh-ct-panel-border-radius);
}
}

0 comments on commit 980b2ee

Please sign in to comment.