Skip to content

Commit 0140403

Browse files
authored
Merge pull request #463 from iceljc/main
refine styles
2 parents 173ae54 + 6463323 commit 0140403

6 files changed

Lines changed: 1095 additions & 159 deletions

File tree

src/lib/common/shared/InPlaceEdit.svelte

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@
8686
.ipe-display {
8787
display: inline-flex;
8888
align-items: center;
89+
justify-content: center;
8990
gap: 0.375rem;
9091
width: fit-content;
9192
min-width: 30%;
@@ -94,6 +95,7 @@
9495
border: 1px solid transparent;
9596
border-radius: 0.375rem;
9697
cursor: text;
98+
text-align: center;
9799
transition:
98100
background-color 0.15s ease,
99101
border-color 0.15s ease,
@@ -107,6 +109,7 @@
107109
text-overflow: ellipsis;
108110
white-space: nowrap;
109111
border-bottom: 1px dashed transparent;
112+
text-align: center;
110113
transition: border-color 0.15s ease;
111114
}
112115
@@ -146,12 +149,14 @@
146149
.ipe-form {
147150
margin: 0;
148151
width: 100%;
152+
text-align: center;
149153
}
150154
.ipe-input.form-control {
151155
width: 100%;
152156
padding: 0.25rem 0.5rem;
153157
font: inherit;
154158
color: inherit;
159+
text-align: center;
155160
background-color: rgb(255 255 255);
156161
border: 1px solid color-mix(in srgb, var(--color-primary) 35%, transparent);
157162
border-radius: 0.375rem;

0 commit comments

Comments
 (0)