Skip to content

Commit

Permalink
Merge pull request #482 from docat-org/verison-select-style
Browse files Browse the repository at this point in the history
Remove border radius for version select
  • Loading branch information
randombenj authored Mar 27, 2023
2 parents 7f020f5 + be73c90 commit f7da05a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 10 deletions.
22 changes: 12 additions & 10 deletions web/src/style/components/DocumentControlButtons.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
height: 50px;
display: flex;
}

.home-button,
.hide-controls-button {
height: 50px;
Expand All @@ -17,40 +17,42 @@
justify-content: center;
border: none;
}

.home-button {
background-color: var(--primary-foreground);
border-top-left-radius: 8px;
border-bottom-left-radius: 8px;
}

.hide-controls-button {
background-color: #868686;
border-top-right-radius: 8px;
border-bottom-right-radius: 8px;
}

.version-select {
background: white;
border: 1px solid rgba(0, 0, 0, 0.42);
overflow: hidden;

padding: 9px;
width: 200px;

font-size: 1.05em;

border-radius: 0 !important;
}

.version-select:focus-visible {
outline: none;
}

@media only screen and (max-width: 380px) {
.controls {
left: 32px;
}

.version-select {
width: calc(100vw - 100px - 64px)
}
}
}
1 change: 1 addition & 0 deletions web/src/style/components/Project.module.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.project-card {
border-radius: 4px;
margin: 0 16px 10px 16px;
padding: 16px 0 16px 16px;
border: 1px solid var(--secondary-foreground);
Expand Down

0 comments on commit f7da05a

Please sign in to comment.