Skip to content

Commit

Permalink
Fixed some styling to allow easier overwriting
Browse files Browse the repository at this point in the history
  • Loading branch information
xSentry committed Aug 24, 2024
1 parent 58f7851 commit 32103a7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@omnedia/ngx-word-morph",
"version": "1.1.0",
"version": "1.1.1",
"peerDependencies": {
"@angular/common": "^18.2.0",
"@angular/core": "^18.2.0"
Expand Down
9 changes: 5 additions & 4 deletions src/lib/ngx-word-morph.component.scss
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
.om-word-morph {
--om-word-morph-font-size: 8rem;

width: fit-content;
position: relative;

font-size: 8rem;

.words {
position: relative;
margin: auto;
Expand All @@ -21,10 +21,11 @@

p {
margin: 0;
font-size: inherit;
}

.accessibility {
font-size: var(--om-word-morph-font-size);
font-size: inherit;
visibility: hidden;
}

Expand All @@ -34,7 +35,7 @@
width: 100%;
display: inline-block;
user-select: none;
font-size: var(--om-word-morph-font-size);
font-size: inherit;
}
}

Expand Down

0 comments on commit 32103a7

Please sign in to comment.