Skip to content

Commit

Permalink
Mim 2154 fontsize dialog component (#1460)
Browse files Browse the repository at this point in the history
* MIM-2154:Fixed font-size dialog

* Fixed missing background-color expansion-box
  • Loading branch information
ssb-cgn authored Feb 5, 2025
1 parent bce7617 commit 7c504b2
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 3 deletions.
2 changes: 2 additions & 0 deletions lib/bundle.css
Original file line number Diff line number Diff line change
Expand Up @@ -765,6 +765,7 @@ a {
font-size: 40px;
}
.ssb-dialog .dialog-content {
font-size: 16px;
padding: 16px;
}
.ssb-dialog .dialog-content .dialog-title {
Expand Down Expand Up @@ -978,6 +979,7 @@ a {
.ssb-expansion-box {
border: 1px solid #00824d;
border-radius: 8px;
background-color: #fff;
display: grid;
width: 100%;
}
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@statisticsnorway/ssb-component-library",
"version": "2.4.6",
"version": "2.4.7",
"description": "Component library for SSB (Statistics Norway)",
"main": "lib/bundle.js",
"scripts": {
Expand Down
1 change: 1 addition & 0 deletions src/components/Dialog/_dialog.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
}

.dialog-content {
font-size: 16px;
padding: 16px;

.dialog-title {
Expand Down
1 change: 1 addition & 0 deletions src/components/ExpansionBox/_expansion-box.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
.ssb-expansion-box {
border: 1px solid $ssb-green-4;
border-radius: 8px;
background-color: $ssb-white;
display: grid;
width: 100%;

Expand Down

0 comments on commit 7c504b2

Please sign in to comment.