Skip to content

Commit

Permalink
fix sorting line for css
Browse files Browse the repository at this point in the history
Signed-off-by: huongg <[email protected]>
  • Loading branch information
Huongg committed May 20, 2024
1 parent 68610fd commit 0661d32
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@

// check with Step since there's no timestamp atm, can we decrease the padding bottom from 84 to 48px
padding: 48px;
background-color: #{variables.$slate-300};
background-color: var(--color-modal-bg-1);

.shareable-url-modal__content-title {
padding-bottom: 32px;
Expand Down
45 changes: 30 additions & 15 deletions src/components/shareable-url-modal/url-box/url-box.scss
Original file line number Diff line number Diff line change
@@ -1,46 +1,61 @@
@use '../../../styles/variables' as variables;

.kui-theme--light {
--color-link: #{variables.$black-900};
--color-divider: #{variables.$white-900};
--color-bg: #{variables.$white-100};
--color-border: #{variables.$black-900};
}

.kui-theme--dark {
--color-link: #{variables.$white-0};
--color-divider: #{variables.$black-500};
--color-bg: #{variables.$slate-700};
--color-border: #{variables.$white-0};
}

.url-box__wrapper {
background-color: #{variables.$slate-700};
background-color: var(--color-bg);
display: flex;
height: 50px;
width: 100%;
justify-content: space-between;
text-overflow: ellipsis;
width: 100%;
}

.url-box__wrapper--half-width {
border-left: 1px solid var(--color-divider);
width: 50%;
}

.url-box__result-url-wrapper {
display: flex;
align-items: center;
width: 100%;
display: flex;
max-width: 510px;
width: 100%;
}

.url-box__result-url {
color: var(--color-deployed-link);
align-items: center;
color: var(--color-link);
cursor: pointer;
display: block;
font-family: inherit;
font-size: 16px;
line-height: 32px;
cursor: pointer;
align-items: center;
overflow: hidden;
padding-left: 16px;
font-family: inherit;
text-decoration: underline;
width: 90%;
display: block;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
width: 90%;
}

.url-box___button {
position: relative;
display: flex;
align-items: center;
border: 1px solid white;
border: 1px solid var(--color-border);
display: flex;
position: relative;

.button__btn--secondary {
width: 100px;
Expand Down

0 comments on commit 0661d32

Please sign in to comment.