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

Hide text for buttons for small screens in read view #5105

Merged
merged 4 commits into from
Jan 28, 2021

Conversation

MrCrayon
Copy link
Collaborator

@MrCrayon MrCrayon commented Oct 6, 2020

Hide text for buttons for small screens in read view

To be more consistent html matches the one already used for delete button:

<i class="voyager-trash"></i> <span class="hidden-xs hidden-sm">{{ __('voyager::generic.restore') }}</span>

Schermata da 2020-10-06 07-36-26

Not sure if we should consider it as breaking change or a notice could be enough in case someone is targeting span with css.

P.S.
Buttons looks awful because edit has a border while other buttons don't have it and delete has a margin-left.

Hide text for buttons for small screens in read view
@codecov
Copy link

codecov bot commented Oct 6, 2020

Codecov Report

Merging #5105 (968038e) into 1.4 (916a4d4) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##                1.4    #5105   +/-   ##
=========================================
  Coverage     63.31%   63.31%           
  Complexity     1379     1379           
=========================================
  Files           194      194           
  Lines          4075     4075           
=========================================
  Hits           2580     2580           
  Misses         1495     1495           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 916a4d4...968038e. Read the comment docs.

@emptynick emptynick merged commit 1940d6c into thedevdojo:1.4 Jan 28, 2021
@MrCrayon MrCrayon deleted the hide-text-in-read-view branch February 11, 2021 03:48
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