Skip to content

Commit

Permalink
make object property boxes fit content (MystenLabs#1730)
Browse files Browse the repository at this point in the history
  • Loading branch information
Stella Cannefax authored May 3, 2022
1 parent aa913e7 commit 2e31809
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ h1.title {
/* Display Box CSS */

.display {
@apply ml-[5vw] mx-auto mt-[1vh]
@apply ml-[5vw] mx-auto mt-[1vh]
w-[88vw] lg:w-[35vw] min-h-[88vw] lg:min-h-[35vw];
}

Expand Down Expand Up @@ -54,7 +54,9 @@ div.propertybox {
}

div.propertybox > div {
@apply w-[10rem] p-[0.5rem] mx-[1vw] my-[1vh] text-center border-solid rounded-xl bg-slate-200;
@apply p-[0.5rem] mx-[1vw] my-[1vh] text-center border-solid rounded-xl bg-slate-200;

overflow-wrap: anywhere;
}

div.propertybox > div > p {
Expand Down

0 comments on commit 2e31809

Please sign in to comment.