Skip to content

Commit

Permalink
Fix website UI formatting (#103)
Browse files Browse the repository at this point in the history
[#83] Fix website UI formatting

Added a temporary fix of the .card CSS Docsy class.
Must be removed when the new release of Docsy including this fix is available and the website is migrated.

Signed-off-by: Daniel Milchev <[email protected]>
  • Loading branch information
daniel-milchev authored Aug 29, 2022
1 parent 71de0a8 commit ea010bf
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
3 changes: 2 additions & 1 deletion web/site/assets/scss/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@
@import "images";
@import "links";
@import "logo";
@import "screen";
@import "screen";
@import "shortcodes";
1 change: 1 addition & 0 deletions web/site/assets/scss/shortcodes.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@import "shortcodes/cards-pane.scss";
7 changes: 7 additions & 0 deletions web/site/assets/scss/shortcodes/cards-pane.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
// This is a temporary workaround, which has to be removed after the project is migrated to a released version of docsy that contains the fix itself: https://github.com/google/docsy/pull/1157
.card {
@extend .td-max-width-on-larger-screens;
.highlight {
border: none;
}
}

0 comments on commit ea010bf

Please sign in to comment.