-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1448 kolumny rownej szerokosci #1761
base: master-dev
Are you sure you want to change the base?
Changes from 5 commits
36fe25e
123ec64
3b9e980
f5cebe4
10d66ff
a8f5f55
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -170,7 +170,7 @@ div.top .topbar .inline-inputs label { | |
} | ||
|
||
#sidebar { | ||
@media (max-width: 992px) { | ||
@include media-breakpoint-down(lg) { | ||
#sidebar-inner { | ||
/* :after will position itself against nearest positioned parent, so we | ||
* need to ensure that it will be this sidebar */ | ||
|
@@ -203,7 +203,7 @@ div.top .topbar .inline-inputs label { | |
text-align: center; | ||
} | ||
} | ||
@media (min-width: 992px) { | ||
@include media-breakpoint-up(lg) { | ||
#fold-toggler { | ||
display: none; | ||
} | ||
|
@@ -244,10 +244,21 @@ div.loginbox { | |
} | ||
} | ||
|
||
colgroup col.table-info-type { | ||
colgroup col.table-info-offer { | ||
width: 1%; | ||
} | ||
|
||
.table-offer th { | ||
Comment on lines
+247
to
+251
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Potrzebujemy dodawać te nowe klasy? Czy nie wystarczą selektory There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Dodałam te klasy bo po sprawdzeniu #table-info i .table-info-type występują też w pliku thesis.html więc wydawało mi się że stylowanie w ten sposób wpłynęłoby na ten widok. Jeszcze raz to zweryfikuje w takim razie There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. OK, cenna uwaga. Proszę w takim razie przyjrzeć się wszystkim miejscom, gdzie występuje selektor
Zgaduję, że w 1. okaże się, że kolorowanie wszędzie znikło, a 2. już nie ma znaczenia (co będzie oznaczać, że usunięcie tej deklaracji było tym bardziej właściwe). Jeśli się to potwierdzi, to proszę założyć nowy issue o przywróceniu kolorowania tła w tych miejscach. Później zdecydujemy też, jak rozwiązać "kolizję selektorów", która pojawiła się tutaj. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Faktycznie, sprawdziłam punkt 1. kolorowanie wszędzie zniknęło (gdy wybierzemy pracownika z listy pracowników, to samo ze studentami, gdy klikniemy w jakąś pracę dyplomową i gdy wejdziemy w Moje konto - czyli we wszystkich plikach które korzystają z table-info-type). Drugiego punktu już nie sprawdzałam. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Rozwiązałam ten problem z kolorowaniem i w takim razie według mnie:
|
||
white-space: nowrap; | ||
background-color: #f9f9f9; | ||
} | ||
|
||
@include media-breakpoint-down(lg) { | ||
#table-offer th { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. To chyba nie ma szansy działać, bo (na ten moment) nie mamy nic pasującego do selektora There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Już jest zmienione, umknęło mi to pewnie przez to że sprawdzałam to do szerokości ok. 400px gdzie ta różnica pomiędzy pierwszą kolumną a drugą w szerokości się jeszcze tak nie rozjeżdza, dopiero na mniejszych to widać. |
||
white-space: normal; | ||
} | ||
} | ||
|
||
// Required field marker in forms. | ||
.asteriskField { | ||
padding-left: 0.25em; | ||
|
@@ -264,7 +275,7 @@ colgroup col.table-info-type { | |
color: var(--bs-dark); | ||
font-style: italic; | ||
display: block; | ||
@media (min-width: 992px) { | ||
@include media-breakpoint-up(lg) { | ||
float: right; | ||
} | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To też powinno być uzależnione od breakpointu, tj. występować wtedy i tylko wtedy, gdy odpowiednie
white-space: nowrap;
. Obecnie w wąskim oknie tekst w lewych kolumnach nie tylko może, ale wręcz musi się zawijać, a to nie jest ładne.