mirror of
https://github.com/schlagmichdoch/PairDrop.git
synced 2025-06-19 04:35:06 -04:00
Fix overflowing Brazilian Portuguese button and change style of current language button
This commit is contained in:
parent
d5da647ea9
commit
429d0edbf8
3 changed files with 65 additions and 54 deletions
|
@ -335,7 +335,7 @@ x-dialog x-paper {
|
|||
display: flex;
|
||||
margin: auto;
|
||||
flex-direction: column;
|
||||
width: 400px;
|
||||
max-width: 450px;
|
||||
z-index: 3;
|
||||
border-radius: 30px;
|
||||
overflow: hidden;
|
||||
|
@ -388,10 +388,6 @@ x-dialog a {
|
|||
|
||||
/* Pair Devices Dialog & Public Room Dialog */
|
||||
|
||||
#public-room-dialog x-paper {
|
||||
width: 450px;
|
||||
}
|
||||
|
||||
.input-key-container {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
|
@ -556,12 +552,25 @@ x-paper > .btn-row {
|
|||
margin: 5px 10px 10px;
|
||||
}
|
||||
|
||||
.language-buttons > button > span {
|
||||
margin: 0 0.3em;
|
||||
.language-buttons > .btn {
|
||||
border-top: solid lightgray 1px;
|
||||
padding: 7px;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.language-buttons > button {
|
||||
min-height: 36px;
|
||||
.language-buttons > .btn:last-of-type {
|
||||
border-bottom: solid lightgray 1px;
|
||||
}
|
||||
|
||||
/* Ensure click event target is always button and never span */
|
||||
.language-buttons span {
|
||||
z-index: -1;
|
||||
}
|
||||
|
||||
.language-buttons > .current > span {
|
||||
text-decoration: underline 4px;
|
||||
text-decoration-skip-ink: none;
|
||||
text-underline-position: under;
|
||||
}
|
||||
|
||||
.file-description {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue