Skip to content

Commit

Permalink
Merge pull request #2100 from vektor-inc/fix/fixed-display/max-width
Browse files Browse the repository at this point in the history
[ 固定表示 ] 固定位置「上」「下」の時にmax-widthを追加
  • Loading branch information
mtdkei authored Jul 19, 2024
2 parents 04c35b8 + e9eda75 commit f852d39
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,8 @@ e.g.

== Changelog ==

[ Design Bug Fix ][ Fixed Display (Pro) ] Add max-width for position top and bottom.

= 1.80.0 =
[ Add function ][ Outer (Pro) ] Add serrated and large triangle in divider style.
[ Bug Fix ][ Outer (Pro) ] Add vertical padding variables.
Expand Down
4 changes: 3 additions & 1 deletion src/blocks/_pro/fixed-display/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
right: 0;
place-self: center;
width: 100%;
max-width: 100% !important;
}
&-right {
top: 50%;
Expand All @@ -57,6 +58,7 @@
bottom: 0;
place-self: center;
width: 100%;
max-width: 100% !important;
}
&-left {
top: 50%;
Expand Down Expand Up @@ -122,4 +124,4 @@
top: calc(50svh + var(--admin-bar-offset));
}
}
}
}

0 comments on commit f852d39

Please sign in to comment.