Skip to content
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

consolidate map size css #4808

Merged
merged 3 commits into from
Apr 21, 2023
Merged

Conversation

ddrury
Copy link
Contributor

@ddrury ddrury commented Apr 19, 2023

merge all into one file - renamed /resources/css/_leaflet.css to /resources/css/_maps.css

@codecov
Copy link

codecov bot commented Apr 19, 2023

Codecov Report

Merging #4808 (2bd21ec) into main (2e2147f) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##               main    #4808   +/-   ##
=========================================
  Coverage     30.95%   30.95%           
  Complexity    11372    11372           
=========================================
  Files          1167     1167           
  Lines         47861    47861           
=========================================
  Hits          14813    14813           
  Misses        33048    33048           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@ddrury ddrury changed the title consolidate map size css into one file (/resources/css/_maps.css) consolidate map size css Apr 19, 2023

<div class="col-sm-3">
<div class="col-sm-3 wt-sidebar wt-global">
Copy link
Owner

@fisharebest fisharebest Apr 19, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We use wt-global on the body element (because it is generallly better to target classes than elements).

I don't think we should use it elsewhere.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok but without it the sidebar background becomes black so I'll have to add the admin background image to another class

Copy link
Contributor Author

@ddrury ddrury Apr 19, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We use wt-global on the body element

Fixed

@fisharebest fisharebest merged commit 75f2a48 into fisharebest:main Apr 21, 2023
6 of 8 checks passed
@fisharebest
Copy link
Owner

Thanks!

fisharebest pushed a commit that referenced this pull request Apr 21, 2023
* consolidate map size css into one file (/resources/css/_maps.css)

* Remove use of wt-global for sidebar background

* Adjust class names and use ::backdrop pseudo class for all themes
@ddrury ddrury deleted the Consolidate_map_css branch April 21, 2023 10:26
ddrury added a commit to ddrury/webtrees that referenced this pull request Jul 16, 2023
* consolidate map size css into one file (/resources/css/_maps.css)

* Remove use of wt-global for sidebar background

* Adjust class names and use ::backdrop pseudo class for all themes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants